<template>
  <div class="dark-mode-container" ref="parentContainerRef">
    <div class="mb-4">
      <el-button @click="btnClick('1')">官网案例一</el-button>
      <el-button @click="btnClick('2')">官网案例二</el-button>
      <el-button @click="btnClick('3')">官网案例三</el-button>
      <el-button @click="btnClick('4')">官网案例四</el-button>
      <el-button @click="btnClick('5')">官网案例五</el-button>
      <el-button @click="btnClick('6')">官网案例六</el-button>
      <el-button @click="btnClick('7')">官网案例七</el-button>
      <el-button @click="btnClick('8')">官网案例八</el-button>
      <el-button @click="btnClick('9')">官网案例九</el-button>
      <br/>
      <br/>
      <el-button @click="btnClick('10')">官网案例十</el-button>
      <el-button @click="btnClick('11')">官网案例十一</el-button>
      <el-button @click="btnClick('12')">官网案例十二</el-button>
      <el-button @click="btnClick('13')">官网案例十三</el-button>
      <el-button @click="btnClick('14')">循环案例十四</el-button>
      <el-button @click="btnClick('15')">循环案例十五</el-button>
      <el-button @click="btnClick('16')">循环案例十六</el-button>
      <el-button @click="btnClick('17')">循环案例十七</el-button>
      <el-button @click="btnClick('18')">循环案例十八</el-button>
    </div>
    <!-- 内容组件放这里 -->
    <flow-container ref="flowContainerRef" :parent-container-ref="parentContainerRef" :render-data="renderData"/>
  </div>
</template>

<script setup lang="js">
import {ref} from 'vue';

const parentContainerRef = ref();
const flowContainerRef = ref();
const renderData = ref("{}");

const btnClick = (type) => {
  let json = "{}";
  switch (type) {
    case '1':
      // 例子一
      json = "{\"nodes\":[{\"id\":\"7bbd67b1-4c61-48d7-9a0d-daee3a80f593\",\"type\":\"CommonNode\",\"x\":542.8687732969393,\"y\":313.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":542.8687732969393,\"y\":313.88973729809436,\"value\":\"ACommon\"}},{\"id\":\"e84ef0a2-260a-44e8-970a-59e8534c61c1\",\"type\":\"CommonNode\",\"x\":778.8687732969393,\"y\":313.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":778.8687732969393,\"y\":313.88973729809436,\"value\":\"BCommon\"}},{\"id\":\"b03397e7-1445-4bd3-a083-ced6c2695d3f\",\"type\":\"CommonNode\",\"x\":1007.8687732969393,\"y\":313.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":1007.8687732969393,\"y\":313.88973729809436,\"value\":\"CCommon\"}},{\"id\":\"3e35e243-5cdd-454a-92c8-0e528f1ffead\",\"type\":\"CommonNode\",\"x\":1234.8687732969393,\"y\":313.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":1234.8687732969393,\"y\":313.88973729809436,\"value\":\"DCommon\"}}],\"edges\":[{\"id\":\"19a1ab89-6e99-43f8-ae80-16e3b9ed4058\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"7bbd67b1-4c61-48d7-9a0d-daee3a80f593\",\"targetNodeId\":\"e84ef0a2-260a-44e8-970a-59e8534c61c1\",\"sourceAnchorId\":\"7bbd67b1-4c61-48d7-9a0d-daee3a80f593_1\",\"targetAnchorId\":\"e84ef0a2-260a-44e8-970a-59e8534c61c1_3\",\"startPoint\":{\"x\":602.8687732969393,\"y\":313.88973729809436},\"endPoint\":{\"x\":718.8687732969393,\"y\":313.88973729809436},\"pointsList\":[{\"x\":602.8687732969393,\"y\":313.88973729809436},{\"x\":718.8687732969393,\"y\":313.88973729809436}]},{\"id\":\"280e679e-7c8c-4138-97c7-f582307bb662\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"e84ef0a2-260a-44e8-970a-59e8534c61c1\",\"targetNodeId\":\"b03397e7-1445-4bd3-a083-ced6c2695d3f\",\"sourceAnchorId\":\"e84ef0a2-260a-44e8-970a-59e8534c61c1_1\",\"targetAnchorId\":\"b03397e7-1445-4bd3-a083-ced6c2695d3f_3\",\"startPoint\":{\"x\":838.8687732969393,\"y\":313.88973729809436},\"endPoint\":{\"x\":947.8687732969393,\"y\":313.88973729809436},\"pointsList\":[{\"x\":838.8687732969393,\"y\":313.88973729809436},{\"x\":947.8687732969393,\"y\":313.88973729809436}]},{\"id\":\"befe691c-7be6-4826-94b1-9145da15b807\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b03397e7-1445-4bd3-a083-ced6c2695d3f\",\"targetNodeId\":\"3e35e243-5cdd-454a-92c8-0e528f1ffead\",\"sourceAnchorId\":\"b03397e7-1445-4bd3-a083-ced6c2695d3f_1\",\"targetAnchorId\":\"3e35e243-5cdd-454a-92c8-0e528f1ffead_3\",\"startPoint\":{\"x\":1067.8687732969393,\"y\":313.88973729809436},\"endPoint\":{\"x\":1174.8687732969393,\"y\":313.88973729809436},\"pointsList\":[{\"x\":1067.8687732969393,\"y\":313.88973729809436},{\"x\":1174.8687732969393,\"y\":313.88973729809436}]}]}";
      break;
    case '2':
      // 例子二
      json = "{\"nodes\":[{\"id\":\"b467fa2f-7558-410b-a5c9-7374a7031cf7\",\"type\":\"CommonNode\",\"x\":387.86877329693925,\"y\":434.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":387.86877329693925,\"y\":434.88973729809436,\"value\":\"ACommon\"}},{\"id\":\"9b4facdc-b3dc-4508-9019-f9229578a28f\",\"type\":\"CommonNode\",\"x\":673.8687732969393,\"y\":308.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":673.8687732969393,\"y\":308.88973729809436,\"value\":\"BCommon\"}},{\"id\":\"9ff48f26-66ea-4acc-8f96-0e357b10d3a1\",\"type\":\"CommonNode\",\"x\":673.8687732969393,\"y\":434.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":673.8687732969393,\"y\":434.88973729809436,\"value\":\"CCommon\"}},{\"id\":\"2ecc331c-861c-4c95-b50a-92007169f80d\",\"type\":\"CommonNode\",\"x\":673.8687732969393,\"y\":561.8897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":673.8687732969393,\"y\":561.8897372980944,\"value\":\"DCommon\"}},{\"id\":\"20f623bd-4a73-4fe7-ab91-044c92c0823e\",\"type\":\"CommonNode\",\"x\":1105.8687732969393,\"y\":434.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":1105.8687732969393,\"y\":434.88973729809436,\"value\":\"ECommon\"}}],\"edges\":[{\"id\":\"6f8689d1-ea94-4690-9815-bf9ce7ca6ce3\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b467fa2f-7558-410b-a5c9-7374a7031cf7\",\"targetNodeId\":\"9ff48f26-66ea-4acc-8f96-0e357b10d3a1\",\"sourceAnchorId\":\"b467fa2f-7558-410b-a5c9-7374a7031cf7_1\",\"targetAnchorId\":\"9ff48f26-66ea-4acc-8f96-0e357b10d3a1_3\",\"startPoint\":{\"x\":447.86877329693925,\"y\":434.88973729809436},\"endPoint\":{\"x\":613.8687732969393,\"y\":434.88973729809436},\"pointsList\":[{\"x\":447.86877329693925,\"y\":434.88973729809436},{\"x\":613.8687732969393,\"y\":434.88973729809436}]},{\"id\":\"804b6c1a-bf7a-41c3-9777-8e637c168e68\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"9ff48f26-66ea-4acc-8f96-0e357b10d3a1\",\"targetNodeId\":\"20f623bd-4a73-4fe7-ab91-044c92c0823e\",\"sourceAnchorId\":\"9ff48f26-66ea-4acc-8f96-0e357b10d3a1_1\",\"targetAnchorId\":\"20f623bd-4a73-4fe7-ab91-044c92c0823e_3\",\"startPoint\":{\"x\":733.8687732969393,\"y\":434.88973729809436},\"endPoint\":{\"x\":1045.8687732969393,\"y\":434.88973729809436},\"pointsList\":[{\"x\":733.8687732969393,\"y\":434.88973729809436},{\"x\":1045.8687732969393,\"y\":434.88973729809436}]},{\"id\":\"732b07e6-7e59-4ce7-b6fe-58cdeb0aa4fc\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"2ecc331c-861c-4c95-b50a-92007169f80d\",\"targetNodeId\":\"20f623bd-4a73-4fe7-ab91-044c92c0823e\",\"sourceAnchorId\":\"2ecc331c-861c-4c95-b50a-92007169f80d_1\",\"targetAnchorId\":\"20f623bd-4a73-4fe7-ab91-044c92c0823e_3\",\"startPoint\":{\"x\":733.8687732969393,\"y\":561.8897372980944},\"endPoint\":{\"x\":1045.8687732969393,\"y\":434.88973729809436},\"pointsList\":[{\"x\":733.8687732969393,\"y\":561.8897372980944},{\"x\":763.8687732969393,\"y\":561.8897372980944},{\"x\":763.8687732969393,\"y\":434.88973729809436},{\"x\":1045.8687732969393,\"y\":434.88973729809436}]},{\"id\":\"a6d30498-0f1f-4404-9b98-21b47ed0dd39\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"9b4facdc-b3dc-4508-9019-f9229578a28f\",\"targetNodeId\":\"20f623bd-4a73-4fe7-ab91-044c92c0823e\",\"sourceAnchorId\":\"9b4facdc-b3dc-4508-9019-f9229578a28f_1\",\"targetAnchorId\":\"20f623bd-4a73-4fe7-ab91-044c92c0823e_3\",\"startPoint\":{\"x\":733.8687732969393,\"y\":308.88973729809436},\"endPoint\":{\"x\":1045.8687732969393,\"y\":434.88973729809436},\"pointsList\":[{\"x\":733.8687732969393,\"y\":308.88973729809436},{\"x\":763.8687732969393,\"y\":308.88973729809436},{\"x\":763.8687732969393,\"y\":434.88973729809436},{\"x\":1045.8687732969393,\"y\":434.88973729809436}]},{\"id\":\"737baa91-03c3-4240-babb-0f09246b54f7\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b467fa2f-7558-410b-a5c9-7374a7031cf7\",\"targetNodeId\":\"9b4facdc-b3dc-4508-9019-f9229578a28f\",\"sourceAnchorId\":\"b467fa2f-7558-410b-a5c9-7374a7031cf7_1\",\"targetAnchorId\":\"9b4facdc-b3dc-4508-9019-f9229578a28f_3\",\"startPoint\":{\"x\":447.86877329693925,\"y\":434.88973729809436},\"endPoint\":{\"x\":613.8687732969393,\"y\":308.88973729809436},\"pointsList\":[{\"x\":447.86877329693925,\"y\":434.88973729809436},{\"x\":527.8687732969393,\"y\":434.88973729809436},{\"x\":527.8687732969393,\"y\":308.88973729809436},{\"x\":613.8687732969393,\"y\":308.88973729809436}]},{\"id\":\"32194fbf-cda9-4193-acb4-e35f0ca40f93\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b467fa2f-7558-410b-a5c9-7374a7031cf7\",\"targetNodeId\":\"2ecc331c-861c-4c95-b50a-92007169f80d\",\"sourceAnchorId\":\"b467fa2f-7558-410b-a5c9-7374a7031cf7_1\",\"targetAnchorId\":\"2ecc331c-861c-4c95-b50a-92007169f80d_3\",\"startPoint\":{\"x\":447.86877329693925,\"y\":434.88973729809436},\"endPoint\":{\"x\":613.8687732969393,\"y\":561.8897372980944},\"pointsList\":[{\"x\":447.86877329693925,\"y\":434.88973729809436},{\"x\":528.8687732969393,\"y\":434.88973729809436},{\"x\":528.8687732969393,\"y\":561.8897372980944},{\"x\":613.8687732969393,\"y\":561.8897372980944}]}]}";
      break;
    case '3':
      // 例子三
      json = "{\"nodes\":[{\"id\":\"6212e431-5fb6-45af-9326-aa63af449bfe\",\"type\":\"CommonNode\",\"x\":47.86877329693925,\"y\":360.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":47.86877329693925,\"y\":360.38973729809436,\"value\":\"ACommon\"}},{\"id\":\"e28a69cc-5759-44a3-a17c-8e0c62ef3d22\",\"type\":\"CommonNode\",\"x\":496.86877329693925,\"y\":209.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":496.86877329693925,\"y\":209.38973729809436,\"value\":\"BCommon\"}},{\"id\":\"a4346bf2-2827-4c11-86fe-17712eb5d831\",\"type\":\"CommonNode\",\"x\":396.86877329693925,\"y\":497.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"remark\":\"CCommon\",\"clazz\":\"CCommon\"},\"text\":{\"x\":396.86877329693925,\"y\":497.38973729809436,\"value\":\"CCommon\"}},{\"id\":\"4a6b3c2e-9f04-483e-8f02-1ff8f6531bdc\",\"type\":\"CommonNode\",\"x\":611.8687732969393,\"y\":497.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":611.8687732969393,\"y\":497.38973729809436,\"value\":\"DCommon\"}},{\"id\":\"0ff84e32-3d8d-463e-8628-810429caaaf2\",\"type\":\"CommonNode\",\"x\":1015.8687732969393,\"y\":349.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":1015.8687732969393,\"y\":349.38973729809436,\"value\":\"ECommon\"}}],\"edges\":[{\"id\":\"a813811a-770f-4495-b803-f0e439352f37\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"6212e431-5fb6-45af-9326-aa63af449bfe\",\"targetNodeId\":\"e28a69cc-5759-44a3-a17c-8e0c62ef3d22\",\"sourceAnchorId\":\"6212e431-5fb6-45af-9326-aa63af449bfe_1\",\"targetAnchorId\":\"e28a69cc-5759-44a3-a17c-8e0c62ef3d22_3\",\"startPoint\":{\"x\":107.86877329693925,\"y\":360.38973729809436},\"endPoint\":{\"x\":436.86877329693925,\"y\":209.38973729809436},\"pointsList\":[{\"x\":107.86877329693925,\"y\":360.38973729809436},{\"x\":137.86877329693925,\"y\":360.38973729809436},{\"x\":137.86877329693925,\"y\":209.38973729809436},{\"x\":436.86877329693925,\"y\":209.38973729809436}]},{\"id\":\"e432f997-ea91-4c29-86d5-21cc4be832c9\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"6212e431-5fb6-45af-9326-aa63af449bfe\",\"targetNodeId\":\"a4346bf2-2827-4c11-86fe-17712eb5d831\",\"sourceAnchorId\":\"6212e431-5fb6-45af-9326-aa63af449bfe_1\",\"targetAnchorId\":\"a4346bf2-2827-4c11-86fe-17712eb5d831_3\",\"startPoint\":{\"x\":107.86877329693925,\"y\":360.38973729809436},\"endPoint\":{\"x\":336.86877329693925,\"y\":497.38973729809436},\"pointsList\":[{\"x\":107.86877329693925,\"y\":360.38973729809436},{\"x\":137.86877329693925,\"y\":360.38973729809436},{\"x\":137.86877329693925,\"y\":497.38973729809436},{\"x\":336.86877329693925,\"y\":497.38973729809436}]},{\"id\":\"83004fd7-9933-4cd6-b82d-b33343fab2cb\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"e28a69cc-5759-44a3-a17c-8e0c62ef3d22\",\"targetNodeId\":\"0ff84e32-3d8d-463e-8628-810429caaaf2\",\"sourceAnchorId\":\"e28a69cc-5759-44a3-a17c-8e0c62ef3d22_1\",\"targetAnchorId\":\"0ff84e32-3d8d-463e-8628-810429caaaf2_3\",\"startPoint\":{\"x\":556.8687732969393,\"y\":209.38973729809436},\"endPoint\":{\"x\":955.8687732969393,\"y\":349.38973729809436},\"pointsList\":[{\"x\":556.8687732969393,\"y\":209.38973729809436},{\"x\":798.8687732969393,\"y\":209.38973729809436},{\"x\":798.8687732969393,\"y\":349.38973729809436},{\"x\":955.8687732969393,\"y\":349.38973729809436}]},{\"id\":\"ca137d56-fece-4fd2-a192-09a2e1e42109\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"a4346bf2-2827-4c11-86fe-17712eb5d831\",\"targetNodeId\":\"4a6b3c2e-9f04-483e-8f02-1ff8f6531bdc\",\"sourceAnchorId\":\"a4346bf2-2827-4c11-86fe-17712eb5d831_1\",\"targetAnchorId\":\"4a6b3c2e-9f04-483e-8f02-1ff8f6531bdc_3\",\"startPoint\":{\"x\":456.86877329693925,\"y\":497.38973729809436},\"endPoint\":{\"x\":551.8687732969393,\"y\":497.38973729809436},\"pointsList\":[{\"x\":456.86877329693925,\"y\":497.38973729809436},{\"x\":551.8687732969393,\"y\":497.38973729809436}]},{\"id\":\"0a891b6c-55d4-4d85-ba6b-4feb0985a7c7\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"4a6b3c2e-9f04-483e-8f02-1ff8f6531bdc\",\"targetNodeId\":\"0ff84e32-3d8d-463e-8628-810429caaaf2\",\"sourceAnchorId\":\"4a6b3c2e-9f04-483e-8f02-1ff8f6531bdc_1\",\"targetAnchorId\":\"0ff84e32-3d8d-463e-8628-810429caaaf2_3\",\"startPoint\":{\"x\":671.8687732969393,\"y\":497.38973729809436},\"endPoint\":{\"x\":955.8687732969393,\"y\":349.38973729809436},\"pointsList\":[{\"x\":671.8687732969393,\"y\":497.38973729809436},{\"x\":798.8687732969393,\"y\":497.38973729809436},{\"x\":798.8687732969393,\"y\":349.38973729809436},{\"x\":955.8687732969393,\"y\":349.38973729809436}]}]}";
      break;
    case '4':
      // 例子四
      json = "{\"nodes\":[{\"id\":\"bb18cded-c2ee-449b-aab2-f8a26184f432\",\"type\":\"CommonNode\",\"x\":-93.13122670306075,\"y\":381.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":-93.13122670306075,\"y\":381.38973729809436,\"value\":\"ACommon\"}},{\"id\":\"ee2e8583-e9b2-44e9-a3a4-543222b875d2\",\"type\":\"CommonNode\",\"x\":335.86877329693925,\"y\":160.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":335.86877329693925,\"y\":160.38973729809436,\"value\":\"BCommon\"}},{\"id\":\"89e51bc2-a10a-4d42-978b-8a2eff98773d\",\"type\":\"CommonNode\",\"x\":189.86877329693925,\"y\":381.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":189.86877329693925,\"y\":381.38973729809436,\"value\":\"CCommon\"}},{\"id\":\"993e5fdf-7d72-4718-956a-6c5b6823cd7c\",\"type\":\"CommonNode\",\"x\":486.86877329693925,\"y\":381.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":486.86877329693925,\"y\":381.38973729809436,\"value\":\"DCommon\"}},{\"id\":\"186f8d7c-5ad5-4345-a91d-f4e4b64c6e86\",\"type\":\"CommonNode\",\"x\":893.8687732969393,\"y\":381.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"FCommon\",\"tag\":\"FCommon\",\"comment\":\"FCommon\",\"clazz\":\"FCommon\",\"remark\":\"FCommon\"},\"text\":{\"x\":893.8687732969393,\"y\":381.38973729809436,\"value\":\"FCommon\"}},{\"id\":\"4099dddc-84a4-49be-921e-3424c4e134df\",\"type\":\"CommonNode\",\"x\":336.86877329693925,\"y\":587.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":336.86877329693925,\"y\":587.3897372980944,\"value\":\"ECommon\"}}],\"edges\":[{\"id\":\"a1fe9660-f157-4317-bffb-20ea00f54d1b\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"bb18cded-c2ee-449b-aab2-f8a26184f432\",\"targetNodeId\":\"89e51bc2-a10a-4d42-978b-8a2eff98773d\",\"sourceAnchorId\":\"bb18cded-c2ee-449b-aab2-f8a26184f432_1\",\"targetAnchorId\":\"89e51bc2-a10a-4d42-978b-8a2eff98773d_3\",\"startPoint\":{\"x\":-33.13122670306075,\"y\":381.38973729809436},\"endPoint\":{\"x\":129.86877329693925,\"y\":381.38973729809436},\"pointsList\":[{\"x\":-33.13122670306075,\"y\":381.38973729809436},{\"x\":129.86877329693925,\"y\":381.38973729809436}]},{\"id\":\"ac4f675b-86cc-4f59-946b-5c8167dbfa20\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"bb18cded-c2ee-449b-aab2-f8a26184f432\",\"targetNodeId\":\"ee2e8583-e9b2-44e9-a3a4-543222b875d2\",\"sourceAnchorId\":\"bb18cded-c2ee-449b-aab2-f8a26184f432_1\",\"targetAnchorId\":\"ee2e8583-e9b2-44e9-a3a4-543222b875d2_3\",\"startPoint\":{\"x\":-33.13122670306075,\"y\":381.38973729809436},\"endPoint\":{\"x\":275.86877329693925,\"y\":160.38973729809436},\"pointsList\":[{\"x\":-33.13122670306075,\"y\":381.38973729809436},{\"x\":-3.1312267030607472,\"y\":381.38973729809436},{\"x\":-3.1312267030607472,\"y\":160.38973729809436},{\"x\":275.86877329693925,\"y\":160.38973729809436}]},{\"id\":\"da8fdbf4-ac73-4ec2-8b53-9ad560a2d3f8\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"bb18cded-c2ee-449b-aab2-f8a26184f432\",\"targetNodeId\":\"4099dddc-84a4-49be-921e-3424c4e134df\",\"sourceAnchorId\":\"bb18cded-c2ee-449b-aab2-f8a26184f432_1\",\"targetAnchorId\":\"4099dddc-84a4-49be-921e-3424c4e134df_3\",\"startPoint\":{\"x\":-33.13122670306075,\"y\":381.38973729809436},\"endPoint\":{\"x\":276.86877329693925,\"y\":587.3897372980944},\"pointsList\":[{\"x\":-33.13122670306075,\"y\":381.38973729809436},{\"x\":-3.1312267030607472,\"y\":381.38973729809436},{\"x\":-3.1312267030607472,\"y\":587.3897372980944},{\"x\":276.86877329693925,\"y\":587.3897372980944}]},{\"id\":\"4a1ce6d8-5b8c-4b0b-8a36-6b048262a363\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"89e51bc2-a10a-4d42-978b-8a2eff98773d\",\"targetNodeId\":\"993e5fdf-7d72-4718-956a-6c5b6823cd7c\",\"sourceAnchorId\":\"89e51bc2-a10a-4d42-978b-8a2eff98773d_1\",\"targetAnchorId\":\"993e5fdf-7d72-4718-956a-6c5b6823cd7c_3\",\"startPoint\":{\"x\":249.86877329693925,\"y\":381.38973729809436},\"endPoint\":{\"x\":426.86877329693925,\"y\":381.38973729809436},\"pointsList\":[{\"x\":249.86877329693925,\"y\":381.38973729809436},{\"x\":426.86877329693925,\"y\":381.38973729809436}]},{\"id\":\"7c8e28e8-a4aa-4e48-b46b-ac60ac518fb1\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"993e5fdf-7d72-4718-956a-6c5b6823cd7c\",\"targetNodeId\":\"186f8d7c-5ad5-4345-a91d-f4e4b64c6e86\",\"sourceAnchorId\":\"993e5fdf-7d72-4718-956a-6c5b6823cd7c_1\",\"targetAnchorId\":\"186f8d7c-5ad5-4345-a91d-f4e4b64c6e86_3\",\"startPoint\":{\"x\":546.8687732969393,\"y\":381.38973729809436},\"endPoint\":{\"x\":833.8687732969393,\"y\":381.38973729809436},\"pointsList\":[{\"x\":546.8687732969393,\"y\":381.38973729809436},{\"x\":833.8687732969393,\"y\":381.38973729809436}]},{\"id\":\"cd7b22c4-5e8a-4d9e-bc56-4bef9e509108\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"ee2e8583-e9b2-44e9-a3a4-543222b875d2\",\"targetNodeId\":\"186f8d7c-5ad5-4345-a91d-f4e4b64c6e86\",\"sourceAnchorId\":\"ee2e8583-e9b2-44e9-a3a4-543222b875d2_1\",\"targetAnchorId\":\"186f8d7c-5ad5-4345-a91d-f4e4b64c6e86_3\",\"startPoint\":{\"x\":395.86877329693925,\"y\":160.38973729809436},\"endPoint\":{\"x\":833.8687732969393,\"y\":381.38973729809436},\"pointsList\":[{\"x\":395.86877329693925,\"y\":160.38973729809436},{\"x\":691.8687732969393,\"y\":160.38973729809436},{\"x\":691.8687732969393,\"y\":381.38973729809436},{\"x\":833.8687732969393,\"y\":381.38973729809436}]},{\"id\":\"1470e2b8-f3f3-46e5-aa98-87e52d4bec00\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"4099dddc-84a4-49be-921e-3424c4e134df\",\"targetNodeId\":\"186f8d7c-5ad5-4345-a91d-f4e4b64c6e86\",\"sourceAnchorId\":\"4099dddc-84a4-49be-921e-3424c4e134df_1\",\"targetAnchorId\":\"186f8d7c-5ad5-4345-a91d-f4e4b64c6e86_3\",\"startPoint\":{\"x\":396.86877329693925,\"y\":587.3897372980944},\"endPoint\":{\"x\":833.8687732969393,\"y\":381.38973729809436},\"pointsList\":[{\"x\":396.86877329693925,\"y\":587.3897372980944},{\"x\":692.8687732969393,\"y\":587.3897372980944},{\"x\":692.8687732969393,\"y\":381.38973729809436},{\"x\":833.8687732969393,\"y\":381.38973729809436}]}]}";
      break;
    case '5':
      // 例子五
      json = "{\"nodes\":[{\"id\":\"44c3f267-3d93-42f4-8d14-3a755b10542f\",\"type\":\"SwitchNode\",\"x\":111.86877329693925,\"y\":444.88973729809436,\"properties\":{\"type\":\"SWITCH\",\"nodeType\":\"SWITCH\",\"category\":\"SWITCH\",\"width\":126,\"height\":80,\"code\":\"ASwitch\",\"comment\":\"ASwitch\",\"clazz\":\"ASwitch\",\"remark\":\"ASwitch\"},\"text\":{\"x\":111.86877329693925,\"y\":444.88973729809436,\"value\":\"ASwitch\"}},{\"id\":\"768fad8f-be7d-4665-9ece-79ccc4638542\",\"type\":\"CommonNode\",\"x\":363.86877329693925,\"y\":270.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":363.86877329693925,\"y\":270.88973729809436,\"value\":\"BCommon\"}},{\"id\":\"a008c591-5c99-4f1a-aff5-5ffd7a2360d7\",\"type\":\"CommonNode\",\"x\":363.86877329693925,\"y\":443.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":363.86877329693925,\"y\":443.88973729809436,\"value\":\"CCommon\"}},{\"id\":\"b4c08774-8135-406c-846e-3200d8224ec7\",\"type\":\"CommonNode\",\"x\":363.86877329693925,\"y\":641.8897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":363.86877329693925,\"y\":641.8897372980944,\"value\":\"DCommon\"}}],\"edges\":[{\"id\":\"99a82cd3-1aa5-45ac-bf99-fd97f6d776e1\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"44c3f267-3d93-42f4-8d14-3a755b10542f\",\"targetNodeId\":\"768fad8f-be7d-4665-9ece-79ccc4638542\",\"sourceAnchorId\":\"44c3f267-3d93-42f4-8d14-3a755b10542f_1\",\"targetAnchorId\":\"768fad8f-be7d-4665-9ece-79ccc4638542_3\",\"startPoint\":{\"x\":174.86877329693925,\"y\":444.88973729809436},\"endPoint\":{\"x\":303.86877329693925,\"y\":270.88973729809436},\"pointsList\":[{\"x\":174.86877329693925,\"y\":444.88973729809436},{\"x\":273.86877329693925,\"y\":444.88973729809436},{\"x\":273.86877329693925,\"y\":270.88973729809436},{\"x\":303.86877329693925,\"y\":270.88973729809436}]},{\"id\":\"8fa3e926-8eb8-4f0c-9c4d-04087101e62d\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"44c3f267-3d93-42f4-8d14-3a755b10542f\",\"targetNodeId\":\"a008c591-5c99-4f1a-aff5-5ffd7a2360d7\",\"sourceAnchorId\":\"44c3f267-3d93-42f4-8d14-3a755b10542f_1\",\"targetAnchorId\":\"a008c591-5c99-4f1a-aff5-5ffd7a2360d7_3\",\"startPoint\":{\"x\":174.86877329693925,\"y\":444.88973729809436},\"endPoint\":{\"x\":303.86877329693925,\"y\":443.88973729809436},\"pointsList\":[{\"x\":174.86877329693925,\"y\":444.88973729809436},{\"x\":239.36877329693925,\"y\":444.88973729809436},{\"x\":239.36877329693925,\"y\":443.88973729809436},{\"x\":303.86877329693925,\"y\":443.88973729809436}]},{\"id\":\"988a7a31-09a4-44b5-9ab9-3a4d38d6186a\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"44c3f267-3d93-42f4-8d14-3a755b10542f\",\"targetNodeId\":\"b4c08774-8135-406c-846e-3200d8224ec7\",\"sourceAnchorId\":\"44c3f267-3d93-42f4-8d14-3a755b10542f_1\",\"targetAnchorId\":\"b4c08774-8135-406c-846e-3200d8224ec7_3\",\"startPoint\":{\"x\":174.86877329693925,\"y\":444.88973729809436},\"endPoint\":{\"x\":303.86877329693925,\"y\":641.8897372980944},\"pointsList\":[{\"x\":174.86877329693925,\"y\":444.88973729809436},{\"x\":273.86877329693925,\"y\":444.88973729809436},{\"x\":273.86877329693925,\"y\":641.8897372980944},{\"x\":303.86877329693925,\"y\":641.8897372980944}]}]}";
      break;
    case '6':
      // 例子六
      json = "{\"nodes\":[{\"id\":\"e1a1ee0d-0ab2-4b79-8a5c-99b3b86fae3d\",\"type\":\"CommonNode\",\"x\":-176.13122670306075,\"y\":538.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":-176.13122670306075,\"y\":538.3897372980944,\"value\":\"ACommon\"}},{\"id\":\"80071f6f-7630-43da-aeca-c793cefdd140\",\"type\":\"CommonNode\",\"x\":366.86877329693925,\"y\":379.38973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":366.86877329693925,\"y\":379.38973729809436,\"value\":\"BCommon\"}},{\"id\":\"917834e5-5287-4fa0-9084-85ab33aff434\",\"type\":\"SwitchNode\",\"x\":107.86877329693925,\"y\":619.3897372980944,\"properties\":{\"type\":\"SWITCH\",\"nodeType\":\"SWITCH\",\"category\":\"SWITCH\",\"width\":126,\"height\":80,\"code\":\"ASwitch\",\"comment\":\"ASwitch\",\"clazz\":\"ASwitch\",\"remark\":\"ASwitch\"},\"text\":{\"x\":107.86877329693925,\"y\":619.3897372980944,\"value\":\"ASwitch\"}},{\"id\":\"cbeea230-5afa-4dc0-88f6-787a39d97f97\",\"type\":\"CommonNode\",\"x\":366.86877329693925,\"y\":539.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":366.86877329693925,\"y\":539.3897372980944,\"value\":\"CCommon\"}},{\"id\":\"5a746868-a781-41b3-98cf-0e5d5c1f6bf7\",\"type\":\"CommonNode\",\"x\":366.86877329693925,\"y\":699.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":366.86877329693925,\"y\":699.3897372980944,\"value\":\"DCommon\"}},{\"id\":\"38483354-7986-4e5b-9adc-8b294ff275e8\",\"type\":\"MarkNode\",\"x\":595.8687732969393,\"y\":618.3897372980944,\"properties\":{\"type\":\"MARK\",\"nodeType\":\"MARK\",\"category\":\"MARK\",\"width\":40,\"height\":40},\"text\":{\"x\":595.8687732969393,\"y\":618.3897372980944,\"value\":\" \"}},{\"id\":\"e5efd768-5613-445d-acbe-a61438af48e4\",\"type\":\"CommonNode\",\"x\":835.8687732969393,\"y\":538.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":835.8687732969393,\"y\":538.3897372980944,\"value\":\"ECommon\"}}],\"edges\":[{\"id\":\"77e3863f-7c8f-4828-9076-a9ff498f0633\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"e1a1ee0d-0ab2-4b79-8a5c-99b3b86fae3d\",\"targetNodeId\":\"80071f6f-7630-43da-aeca-c793cefdd140\",\"sourceAnchorId\":\"e1a1ee0d-0ab2-4b79-8a5c-99b3b86fae3d_1\",\"targetAnchorId\":\"80071f6f-7630-43da-aeca-c793cefdd140_3\",\"startPoint\":{\"x\":-116.13122670306075,\"y\":538.3897372980944},\"endPoint\":{\"x\":306.86877329693925,\"y\":379.38973729809436},\"pointsList\":[{\"x\":-116.13122670306075,\"y\":538.3897372980944},{\"x\":-86.13122670306075,\"y\":538.3897372980944},{\"x\":-86.13122670306075,\"y\":379.38973729809436},{\"x\":306.86877329693925,\"y\":379.38973729809436}]},{\"id\":\"8e42ef6d-b390-42e9-9d2e-65a9bbecb9c7\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"e1a1ee0d-0ab2-4b79-8a5c-99b3b86fae3d\",\"targetNodeId\":\"917834e5-5287-4fa0-9084-85ab33aff434\",\"sourceAnchorId\":\"e1a1ee0d-0ab2-4b79-8a5c-99b3b86fae3d_1\",\"targetAnchorId\":\"917834e5-5287-4fa0-9084-85ab33aff434_3\",\"startPoint\":{\"x\":-116.13122670306075,\"y\":538.3897372980944},\"endPoint\":{\"x\":44.86877329693925,\"y\":619.3897372980944},\"pointsList\":[{\"x\":-116.13122670306075,\"y\":538.3897372980944},{\"x\":-86.13122670306075,\"y\":538.3897372980944},{\"x\":-86.13122670306075,\"y\":619.3897372980944},{\"x\":44.86877329693925,\"y\":619.3897372980944}]},{\"id\":\"b2c3479e-898b-427b-b27d-4c1d467b51a0\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"917834e5-5287-4fa0-9084-85ab33aff434\",\"targetNodeId\":\"cbeea230-5afa-4dc0-88f6-787a39d97f97\",\"sourceAnchorId\":\"917834e5-5287-4fa0-9084-85ab33aff434_1\",\"targetAnchorId\":\"cbeea230-5afa-4dc0-88f6-787a39d97f97_3\",\"startPoint\":{\"x\":170.86877329693925,\"y\":619.3897372980944},\"endPoint\":{\"x\":306.86877329693925,\"y\":539.3897372980944},\"pointsList\":[{\"x\":170.86877329693925,\"y\":619.3897372980944},{\"x\":276.86877329693925,\"y\":619.3897372980944},{\"x\":276.86877329693925,\"y\":539.3897372980944},{\"x\":306.86877329693925,\"y\":539.3897372980944}]},{\"id\":\"618accec-597c-48df-b5c7-de1e4c604588\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"917834e5-5287-4fa0-9084-85ab33aff434\",\"targetNodeId\":\"5a746868-a781-41b3-98cf-0e5d5c1f6bf7\",\"sourceAnchorId\":\"917834e5-5287-4fa0-9084-85ab33aff434_1\",\"targetAnchorId\":\"5a746868-a781-41b3-98cf-0e5d5c1f6bf7_3\",\"startPoint\":{\"x\":170.86877329693925,\"y\":619.3897372980944},\"endPoint\":{\"x\":306.86877329693925,\"y\":699.3897372980944},\"pointsList\":[{\"x\":170.86877329693925,\"y\":619.3897372980944},{\"x\":276.86877329693925,\"y\":619.3897372980944},{\"x\":276.86877329693925,\"y\":699.3897372980944},{\"x\":306.86877329693925,\"y\":699.3897372980944}]},{\"id\":\"0cf7dd13-c212-4422-a4e0-5c7c720613cd\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"80071f6f-7630-43da-aeca-c793cefdd140\",\"targetNodeId\":\"e5efd768-5613-445d-acbe-a61438af48e4\",\"sourceAnchorId\":\"80071f6f-7630-43da-aeca-c793cefdd140_1\",\"targetAnchorId\":\"e5efd768-5613-445d-acbe-a61438af48e4_3\",\"startPoint\":{\"x\":426.86877329693925,\"y\":379.38973729809436},\"endPoint\":{\"x\":775.8687732969393,\"y\":538.3897372980944},\"pointsList\":[{\"x\":426.86877329693925,\"y\":379.38973729809436},{\"x\":644.8687732969393,\"y\":379.38973729809436},{\"x\":644.8687732969393,\"y\":538.3897372980944},{\"x\":775.8687732969393,\"y\":538.3897372980944}]},{\"id\":\"419d6622-c8eb-4c3e-b5c9-d65f21ee1be4\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"cbeea230-5afa-4dc0-88f6-787a39d97f97\",\"targetNodeId\":\"38483354-7986-4e5b-9adc-8b294ff275e8\",\"sourceAnchorId\":\"cbeea230-5afa-4dc0-88f6-787a39d97f97_1\",\"targetAnchorId\":\"38483354-7986-4e5b-9adc-8b294ff275e8_3\",\"startPoint\":{\"x\":426.86877329693925,\"y\":539.3897372980944},\"endPoint\":{\"x\":575.8687732969393,\"y\":618.3897372980944},\"pointsList\":[{\"x\":426.86877329693925,\"y\":539.3897372980944},{\"x\":456.86877329693925,\"y\":539.3897372980944},{\"x\":456.86877329693925,\"y\":618.3897372980944},{\"x\":575.8687732969393,\"y\":618.3897372980944}]},{\"id\":\"29d89cf3-7c16-4eb8-a646-ab7c9d8f38cf\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"5a746868-a781-41b3-98cf-0e5d5c1f6bf7\",\"targetNodeId\":\"38483354-7986-4e5b-9adc-8b294ff275e8\",\"sourceAnchorId\":\"5a746868-a781-41b3-98cf-0e5d5c1f6bf7_1\",\"targetAnchorId\":\"38483354-7986-4e5b-9adc-8b294ff275e8_3\",\"startPoint\":{\"x\":426.86877329693925,\"y\":699.3897372980944},\"endPoint\":{\"x\":575.8687732969393,\"y\":618.3897372980944},\"pointsList\":[{\"x\":426.86877329693925,\"y\":699.3897372980944},{\"x\":456.86877329693925,\"y\":699.3897372980944},{\"x\":456.86877329693925,\"y\":618.3897372980944},{\"x\":575.8687732969393,\"y\":618.3897372980944}]},{\"id\":\"04923b21-9a37-462f-8bb9-e889e8fa4f60\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"38483354-7986-4e5b-9adc-8b294ff275e8\",\"targetNodeId\":\"e5efd768-5613-445d-acbe-a61438af48e4\",\"sourceAnchorId\":\"38483354-7986-4e5b-9adc-8b294ff275e8_1\",\"targetAnchorId\":\"e5efd768-5613-445d-acbe-a61438af48e4_3\",\"startPoint\":{\"x\":615.8687732969393,\"y\":618.3897372980944},\"endPoint\":{\"x\":775.8687732969393,\"y\":538.3897372980944},\"pointsList\":[{\"x\":615.8687732969393,\"y\":618.3897372980944},{\"x\":645.8687732969393,\"y\":618.3897372980944},{\"x\":645.8687732969393,\"y\":538.3897372980944},{\"x\":775.8687732969393,\"y\":538.3897372980944}]}]}";
      break;
    case '7':
      // 例子七
      json = "{\"nodes\":[{\"id\":\"29da4e1c-328d-4052-a6a6-79074d7add28\",\"type\":\"CommonNode\",\"x\":-208.63122670306075,\"y\":635.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":-208.63122670306075,\"y\":635.3897372980944,\"value\":\"ACommon\"}},{\"id\":\"24d0cacc-d2da-4d47-8aa7-0140ebe4bb65\",\"type\":\"SwitchNode\",\"x\":112.36877329693925,\"y\":635.3897372980944,\"properties\":{\"type\":\"SWITCH\",\"nodeType\":\"SWITCH\",\"category\":\"SWITCH\",\"width\":126,\"height\":80,\"code\":\"ASwitch\",\"comment\":\"ASwitch\",\"clazz\":\"ASwitch\",\"remark\":\"ASwitch\"},\"text\":{\"x\":112.36877329693925,\"y\":635.3897372980944,\"value\":\"ASwitch\"}},{\"id\":\"78a2d671-f189-4255-a429-51c45678eff3\",\"type\":\"CommonNode\",\"x\":464.36877329693925,\"y\":555.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":464.36877329693925,\"y\":555.3897372980944,\"value\":\"CCommon\"}},{\"id\":\"ca542d59-3c12-4e3b-b10b-d5367bf5cfe5\",\"type\":\"CommonNode\",\"x\":344.36877329693925,\"y\":715.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":344.36877329693925,\"y\":715.3897372980944,\"value\":\"BCommon\"}},{\"id\":\"f4fe212e-c911-4731-909f-3fcf7414bfc9\",\"type\":\"CommonNode\",\"x\":584.3687732969393,\"y\":715.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":584.3687732969393,\"y\":715.3897372980944,\"value\":\"DCommon\"}},{\"id\":\"ee9683d7-4d7c-45be-adcf-4a06137cea87\",\"type\":\"CommonNode\",\"x\":830.3687732969393,\"y\":635.3897372980944,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":830.3687732969393,\"y\":635.3897372980944,\"value\":\"ECommon\"}}],\"edges\":[{\"id\":\"a58c3573-c7b7-453d-ba8e-5f174c8b4efe\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"29da4e1c-328d-4052-a6a6-79074d7add28\",\"targetNodeId\":\"24d0cacc-d2da-4d47-8aa7-0140ebe4bb65\",\"sourceAnchorId\":\"29da4e1c-328d-4052-a6a6-79074d7add28_1\",\"targetAnchorId\":\"24d0cacc-d2da-4d47-8aa7-0140ebe4bb65_3\",\"startPoint\":{\"x\":-148.63122670306075,\"y\":635.3897372980944},\"endPoint\":{\"x\":49.36877329693925,\"y\":635.3897372980944},\"pointsList\":[{\"x\":-148.63122670306075,\"y\":635.3897372980944},{\"x\":49.36877329693925,\"y\":635.3897372980944}]},{\"id\":\"0712dc2c-39ae-41a0-a533-7465c2c19ae9\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"24d0cacc-d2da-4d47-8aa7-0140ebe4bb65\",\"targetNodeId\":\"78a2d671-f189-4255-a429-51c45678eff3\",\"sourceAnchorId\":\"24d0cacc-d2da-4d47-8aa7-0140ebe4bb65_1\",\"targetAnchorId\":\"78a2d671-f189-4255-a429-51c45678eff3_3\",\"startPoint\":{\"x\":175.36877329693925,\"y\":635.3897372980944},\"endPoint\":{\"x\":404.36877329693925,\"y\":555.3897372980944},\"pointsList\":[{\"x\":175.36877329693925,\"y\":635.3897372980944},{\"x\":253.36877329693925,\"y\":635.3897372980944},{\"x\":253.36877329693925,\"y\":555.3897372980944},{\"x\":404.36877329693925,\"y\":555.3897372980944}]},{\"id\":\"571cc8dc-0159-4378-a0a1-2c03508e57e6\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"24d0cacc-d2da-4d47-8aa7-0140ebe4bb65\",\"targetNodeId\":\"ca542d59-3c12-4e3b-b10b-d5367bf5cfe5\",\"sourceAnchorId\":\"24d0cacc-d2da-4d47-8aa7-0140ebe4bb65_1\",\"targetAnchorId\":\"ca542d59-3c12-4e3b-b10b-d5367bf5cfe5_3\",\"startPoint\":{\"x\":175.36877329693925,\"y\":635.3897372980944},\"endPoint\":{\"x\":284.36877329693925,\"y\":715.3897372980944},\"pointsList\":[{\"x\":175.36877329693925,\"y\":635.3897372980944},{\"x\":254.36877329693925,\"y\":635.3897372980944},{\"x\":254.36877329693925,\"y\":715.3897372980944},{\"x\":284.36877329693925,\"y\":715.3897372980944}]},{\"id\":\"5dcf0f5a-625e-41fa-9257-ec041edf4e33\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"ca542d59-3c12-4e3b-b10b-d5367bf5cfe5\",\"targetNodeId\":\"f4fe212e-c911-4731-909f-3fcf7414bfc9\",\"sourceAnchorId\":\"ca542d59-3c12-4e3b-b10b-d5367bf5cfe5_1\",\"targetAnchorId\":\"f4fe212e-c911-4731-909f-3fcf7414bfc9_3\",\"startPoint\":{\"x\":404.36877329693925,\"y\":715.3897372980944},\"endPoint\":{\"x\":524.3687732969393,\"y\":715.3897372980944},\"pointsList\":[{\"x\":404.36877329693925,\"y\":715.3897372980944},{\"x\":524.3687732969393,\"y\":715.3897372980944}]},{\"id\":\"69cdd110-d436-4bb5-aefa-9148df2f793f\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"f4fe212e-c911-4731-909f-3fcf7414bfc9\",\"targetNodeId\":\"ee9683d7-4d7c-45be-adcf-4a06137cea87\",\"sourceAnchorId\":\"f4fe212e-c911-4731-909f-3fcf7414bfc9_1\",\"targetAnchorId\":\"ee9683d7-4d7c-45be-adcf-4a06137cea87_3\",\"startPoint\":{\"x\":644.3687732969393,\"y\":715.3897372980944},\"endPoint\":{\"x\":770.3687732969393,\"y\":635.3897372980944},\"pointsList\":[{\"x\":644.3687732969393,\"y\":715.3897372980944},{\"x\":694.3687732969393,\"y\":715.3897372980944},{\"x\":694.3687732969393,\"y\":635.3897372980944},{\"x\":770.3687732969393,\"y\":635.3897372980944}]},{\"id\":\"3ccfe55e-0ff7-404b-b407-3c74eedd3d62\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"78a2d671-f189-4255-a429-51c45678eff3\",\"targetNodeId\":\"ee9683d7-4d7c-45be-adcf-4a06137cea87\",\"sourceAnchorId\":\"78a2d671-f189-4255-a429-51c45678eff3_1\",\"targetAnchorId\":\"ee9683d7-4d7c-45be-adcf-4a06137cea87_3\",\"startPoint\":{\"x\":524.3687732969393,\"y\":555.3897372980944},\"endPoint\":{\"x\":770.3687732969393,\"y\":635.3897372980944},\"pointsList\":[{\"x\":524.3687732969393,\"y\":555.3897372980944},{\"x\":694.3687732969393,\"y\":555.3897372980944},{\"x\":694.3687732969393,\"y\":635.3897372980944},{\"x\":770.3687732969393,\"y\":635.3897372980944}]}]}";
      break;
    case '8':
      // 例子八
      json = "{\"nodes\":[{\"id\":\"a288417b-04ab-4920-9de6-7cf9a125280c\",\"type\":\"BooleanNode\",\"x\":493,\"y\":260,\"properties\":{\"type\":\"BOOLEAN\",\"nodeType\":\"BOOLEAN\",\"category\":\"BOOLEAN\",\"width\":126,\"height\":80,\"code\":\"ABoolean\",\"comment\":\"ABoolean\",\"clazz\":\"ABoolean\",\"remark\":\"ABoolean\"},\"text\":{\"x\":493,\"y\":260,\"value\":\"ABoolean\"}},{\"id\":\"a2ca439b-7a08-40a1-be64-13eacbc3f329\",\"type\":\"CommonNode\",\"x\":767,\"y\":180,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":767,\"y\":180,\"value\":\"ACommon\"}},{\"id\":\"fcb6dbe5-5eb7-49ac-a084-173790ae79b6\",\"type\":\"CommonNode\",\"x\":1034,\"y\":260,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":1034,\"y\":260,\"value\":\"BCommon\"}},{\"id\":\"4210a9a2-e2a9-4355-84fd-98ff8961b23a\",\"type\":\"MarkNode\",\"x\":767,\"y\":319,\"properties\":{\"type\":\"MARK\",\"nodeType\":\"MARK\",\"category\":\"MARK\",\"width\":40,\"height\":40},\"text\":{\"x\":767,\"y\":319,\"value\":\" \"}}],\"edges\":[{\"id\":\"4677c016-d751-48f3-b818-6177cc6b4883\",\"type\":\"polyline\",\"properties\":{\"value\":\"true\"},\"sourceNodeId\":\"a288417b-04ab-4920-9de6-7cf9a125280c\",\"targetNodeId\":\"a2ca439b-7a08-40a1-be64-13eacbc3f329\",\"sourceAnchorId\":\"a288417b-04ab-4920-9de6-7cf9a125280c_1\",\"targetAnchorId\":\"a2ca439b-7a08-40a1-be64-13eacbc3f329_3\",\"startPoint\":{\"x\":556,\"y\":260},\"endPoint\":{\"x\":707,\"y\":180},\"text\":{\"x\":633,\"y\":220,\"value\":\"true\"},\"pointsList\":[{\"x\":556,\"y\":260},{\"x\":633,\"y\":260},{\"x\":633,\"y\":180},{\"x\":707,\"y\":180}]},{\"id\":\"d8e26fe9-c1a4-4bb6-8958-71bc9121e239\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"a2ca439b-7a08-40a1-be64-13eacbc3f329\",\"targetNodeId\":\"fcb6dbe5-5eb7-49ac-a084-173790ae79b6\",\"sourceAnchorId\":\"a2ca439b-7a08-40a1-be64-13eacbc3f329_1\",\"targetAnchorId\":\"fcb6dbe5-5eb7-49ac-a084-173790ae79b6_3\",\"startPoint\":{\"x\":827,\"y\":180},\"endPoint\":{\"x\":974,\"y\":260},\"pointsList\":[{\"x\":827,\"y\":180},{\"x\":925,\"y\":180},{\"x\":925,\"y\":260},{\"x\":974,\"y\":260}]},{\"id\":\"ac7333f2-87b3-48fa-96d0-b25c0ef2bef5\",\"type\":\"polyline\",\"properties\":{\"value\":\"false\"},\"sourceNodeId\":\"a288417b-04ab-4920-9de6-7cf9a125280c\",\"targetNodeId\":\"4210a9a2-e2a9-4355-84fd-98ff8961b23a\",\"sourceAnchorId\":\"a288417b-04ab-4920-9de6-7cf9a125280c_1\",\"targetAnchorId\":\"4210a9a2-e2a9-4355-84fd-98ff8961b23a_3\",\"startPoint\":{\"x\":556,\"y\":260},\"endPoint\":{\"x\":747,\"y\":319},\"text\":{\"x\":690.5,\"y\":319,\"value\":\"false\"},\"pointsList\":[{\"x\":556,\"y\":260},{\"x\":634,\"y\":260},{\"x\":634,\"y\":319},{\"x\":747,\"y\":319}]},{\"id\":\"909f31b4-e2dd-42e0-a12d-fc31255b55af\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"4210a9a2-e2a9-4355-84fd-98ff8961b23a\",\"targetNodeId\":\"fcb6dbe5-5eb7-49ac-a084-173790ae79b6\",\"sourceAnchorId\":\"4210a9a2-e2a9-4355-84fd-98ff8961b23a_1\",\"targetAnchorId\":\"fcb6dbe5-5eb7-49ac-a084-173790ae79b6_3\",\"startPoint\":{\"x\":787,\"y\":319},\"endPoint\":{\"x\":974,\"y\":260},\"pointsList\":[{\"x\":787,\"y\":319},{\"x\":925,\"y\":319},{\"x\":925,\"y\":260},{\"x\":974,\"y\":260}]}]}";
      break;
    case '9':
      // 例子九
      json = "{\"nodes\":[{\"id\":\"43529f9d-a74a-4b93-8dd9-da25a344c18e\",\"type\":\"CommonNode\",\"x\":771,\"y\":178,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":771,\"y\":178,\"value\":\"ACommon\"}},{\"id\":\"1139fcb7-ef93-4b24-bb8e-ff6fe3ce784f\",\"type\":\"BooleanNode\",\"x\":467,\"y\":258,\"properties\":{\"type\":\"BOOLEAN\",\"nodeType\":\"BOOLEAN\",\"category\":\"BOOLEAN\",\"width\":126,\"height\":80,\"code\":\"ABoolean\",\"comment\":\"ABoolean\",\"clazz\":\"ABoolean\",\"remark\":\"ABoolean\"},\"text\":{\"x\":467,\"y\":258,\"value\":\"ABoolean\"}},{\"id\":\"2ad6700d-9ab8-471e-a34c-baf88d9f2297\",\"type\":\"CommonNode\",\"x\":771,\"y\":338,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":771,\"y\":338,\"value\":\"BCommon\"}},{\"id\":\"219512bd-88b5-4cd0-b726-3337971a0bb9\",\"type\":\"CommonNode\",\"x\":1050,\"y\":258,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":1050,\"y\":258,\"value\":\"CCommon\"}}],\"edges\":[{\"id\":\"5adeee7d-3d2d-4416-b243-9c52633dda13\",\"type\":\"polyline\",\"properties\":{\"value\":\"true\"},\"sourceNodeId\":\"1139fcb7-ef93-4b24-bb8e-ff6fe3ce784f\",\"targetNodeId\":\"43529f9d-a74a-4b93-8dd9-da25a344c18e\",\"sourceAnchorId\":\"1139fcb7-ef93-4b24-bb8e-ff6fe3ce784f_1\",\"targetAnchorId\":\"43529f9d-a74a-4b93-8dd9-da25a344c18e_3\",\"startPoint\":{\"x\":530,\"y\":258},\"endPoint\":{\"x\":711,\"y\":178},\"text\":{\"x\":635.5,\"y\":178,\"value\":\"true\"},\"pointsList\":[{\"x\":530,\"y\":258},{\"x\":560,\"y\":258},{\"x\":560,\"y\":178},{\"x\":711,\"y\":178}]},{\"id\":\"c697215a-0b70-4e91-9e1b-22a5fd6c2286\",\"type\":\"polyline\",\"properties\":{\"value\":\"false\"},\"sourceNodeId\":\"1139fcb7-ef93-4b24-bb8e-ff6fe3ce784f\",\"targetNodeId\":\"2ad6700d-9ab8-471e-a34c-baf88d9f2297\",\"sourceAnchorId\":\"1139fcb7-ef93-4b24-bb8e-ff6fe3ce784f_1\",\"targetAnchorId\":\"2ad6700d-9ab8-471e-a34c-baf88d9f2297_3\",\"startPoint\":{\"x\":530,\"y\":258},\"endPoint\":{\"x\":711,\"y\":338},\"text\":{\"x\":635.5,\"y\":338,\"value\":\"false\"},\"pointsList\":[{\"x\":530,\"y\":258},{\"x\":560,\"y\":258},{\"x\":560,\"y\":338},{\"x\":711,\"y\":338}]},{\"id\":\"b0ef2689-b739-48b3-826e-71f375d8d86e\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"43529f9d-a74a-4b93-8dd9-da25a344c18e\",\"targetNodeId\":\"219512bd-88b5-4cd0-b726-3337971a0bb9\",\"sourceAnchorId\":\"43529f9d-a74a-4b93-8dd9-da25a344c18e_1\",\"targetAnchorId\":\"219512bd-88b5-4cd0-b726-3337971a0bb9_3\",\"startPoint\":{\"x\":831,\"y\":178},\"endPoint\":{\"x\":990,\"y\":258},\"pointsList\":[{\"x\":831,\"y\":178},{\"x\":907,\"y\":178},{\"x\":907,\"y\":258},{\"x\":990,\"y\":258}]},{\"id\":\"627cd681-ed9d-478d-8685-50d88759d388\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"2ad6700d-9ab8-471e-a34c-baf88d9f2297\",\"targetNodeId\":\"219512bd-88b5-4cd0-b726-3337971a0bb9\",\"sourceAnchorId\":\"2ad6700d-9ab8-471e-a34c-baf88d9f2297_1\",\"targetAnchorId\":\"219512bd-88b5-4cd0-b726-3337971a0bb9_3\",\"startPoint\":{\"x\":831,\"y\":338},\"endPoint\":{\"x\":990,\"y\":258},\"pointsList\":[{\"x\":831,\"y\":338},{\"x\":908,\"y\":338},{\"x\":908,\"y\":258},{\"x\":990,\"y\":258}]}]}";
      break;
    case '10':
      // 例子十
      json = "{\"nodes\":[{\"id\":\"e5aaa480-0823-4bb2-9418-5533f3d38124\",\"type\":\"BooleanNode\",\"x\":235,\"y\":124,\"properties\":{\"type\":\"BOOLEAN\",\"nodeType\":\"BOOLEAN\",\"category\":\"BOOLEAN\",\"width\":126,\"height\":80,\"code\":\"ABoolean\",\"comment\":\"ABoolean\",\"clazz\":\"ABoolean\",\"remark\":\"ABoolean\"},\"text\":{\"x\":235,\"y\":124,\"value\":\"ABoolean\"}},{\"id\":\"6e0e788f-6973-4788-b2a0-379b45b9547a\",\"type\":\"CommonNode\",\"x\":443,\"y\":44,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":443,\"y\":44,\"value\":\"ACommon\"}},{\"id\":\"17863e01-f5ea-41d3-81b7-db0e59959429\",\"type\":\"BooleanNode\",\"x\":446,\"y\":204,\"properties\":{\"type\":\"BOOLEAN\",\"nodeType\":\"BOOLEAN\",\"category\":\"BOOLEAN\",\"width\":126,\"height\":80,\"code\":\"BBoolean\",\"comment\":\"BBoolean\",\"clazz\":\"BBoolean\",\"remark\":\"BBoolean\"},\"text\":{\"x\":446,\"y\":204,\"value\":\"BBoolean\"}},{\"id\":\"b8497586-6ced-4023-97ed-859e4b82c19b\",\"type\":\"CommonNode\",\"x\":670,\"y\":124,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":670,\"y\":124,\"value\":\"BCommon\"}},{\"id\":\"3ebaf08e-4789-4d53-a9c3-a6a69e724b71\",\"type\":\"BooleanNode\",\"x\":673,\"y\":285,\"properties\":{\"type\":\"BOOLEAN\",\"nodeType\":\"BOOLEAN\",\"category\":\"BOOLEAN\",\"width\":126,\"height\":80,\"code\":\"CBoolean\",\"comment\":\"CBoolean\",\"clazz\":\"CBoolean\",\"remark\":\"CBoolean\"},\"text\":{\"x\":673,\"y\":285,\"value\":\"CBoolean\"}},{\"id\":\"b0383b77-f0e7-4184-a0a5-df36fff13a1f\",\"type\":\"CommonNode\",\"x\":940,\"y\":204,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":940,\"y\":204,\"value\":\"CCommon\"}},{\"id\":\"15fd8358-d008-49e9-b564-2487c848fe81\",\"type\":\"BooleanNode\",\"x\":940,\"y\":361,\"properties\":{\"type\":\"BOOLEAN\",\"nodeType\":\"BOOLEAN\",\"category\":\"BOOLEAN\",\"width\":126,\"height\":80,\"code\":\"DBoolean\",\"comment\":\"DBoolean\",\"remark\":\"DBoolean\",\"clazz\":\"DBoolean\"},\"text\":{\"x\":940,\"y\":361,\"value\":\"DBoolean\"}},{\"id\":\"eb3b0599-7e34-4e22-a088-b71c24fbd180\",\"type\":\"CommonNode\",\"x\":1222,\"y\":283,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":1222,\"y\":283,\"value\":\"DCommon\"}},{\"id\":\"6d7adc38-72da-4515-b7d8-f6ae9ca136b9\",\"type\":\"CommonNode\",\"x\":1222,\"y\":454,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":1222,\"y\":454,\"value\":\"ECommon\"}},{\"id\":\"21dd269e-bcd9-40ee-be3c-19ec9763767e\",\"type\":\"CommonNode\",\"x\":1508,\"y\":454,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"FCommon\",\"tag\":\"FCommon\",\"comment\":\"FCommon\",\"clazz\":\"FCommon\",\"remark\":\"FCommon\"},\"text\":{\"x\":1508,\"y\":454,\"value\":\"FCommon\"}}],\"edges\":[{\"id\":\"e1b6d37f-84b4-4571-9f54-6b6e5445b732\",\"type\":\"polyline\",\"properties\":{\"value\":\"true\"},\"sourceNodeId\":\"e5aaa480-0823-4bb2-9418-5533f3d38124\",\"targetNodeId\":\"6e0e788f-6973-4788-b2a0-379b45b9547a\",\"sourceAnchorId\":\"e5aaa480-0823-4bb2-9418-5533f3d38124_1\",\"targetAnchorId\":\"6e0e788f-6973-4788-b2a0-379b45b9547a_3\",\"startPoint\":{\"x\":298,\"y\":124},\"endPoint\":{\"x\":383,\"y\":44},\"text\":{\"x\":353,\"y\":84,\"value\":\"true\"},\"pointsList\":[{\"x\":298,\"y\":124},{\"x\":353,\"y\":124},{\"x\":353,\"y\":44},{\"x\":383,\"y\":44}]},{\"id\":\"90e87753-5b51-49aa-9f69-608e227047b8\",\"type\":\"polyline\",\"properties\":{\"value\":\"false\"},\"sourceNodeId\":\"e5aaa480-0823-4bb2-9418-5533f3d38124\",\"targetNodeId\":\"17863e01-f5ea-41d3-81b7-db0e59959429\",\"sourceAnchorId\":\"e5aaa480-0823-4bb2-9418-5533f3d38124_1\",\"targetAnchorId\":\"17863e01-f5ea-41d3-81b7-db0e59959429_3\",\"startPoint\":{\"x\":298,\"y\":124},\"endPoint\":{\"x\":383,\"y\":204},\"text\":{\"x\":353,\"y\":164,\"value\":\"false\"},\"pointsList\":[{\"x\":298,\"y\":124},{\"x\":353,\"y\":124},{\"x\":353,\"y\":204},{\"x\":383,\"y\":204}]},{\"id\":\"64389660-74bf-4feb-bf4c-c92e3f6d5e9a\",\"type\":\"polyline\",\"properties\":{\"value\":\"true\"},\"sourceNodeId\":\"17863e01-f5ea-41d3-81b7-db0e59959429\",\"targetNodeId\":\"b8497586-6ced-4023-97ed-859e4b82c19b\",\"sourceAnchorId\":\"17863e01-f5ea-41d3-81b7-db0e59959429_1\",\"targetAnchorId\":\"b8497586-6ced-4023-97ed-859e4b82c19b_3\",\"startPoint\":{\"x\":509,\"y\":204},\"endPoint\":{\"x\":610,\"y\":124},\"text\":{\"x\":580,\"y\":164,\"value\":\"true\"},\"pointsList\":[{\"x\":509,\"y\":204},{\"x\":580,\"y\":204},{\"x\":580,\"y\":124},{\"x\":610,\"y\":124}]},{\"id\":\"2f2383aa-3df4-475f-9e04-1f5ba57e558e\",\"type\":\"polyline\",\"properties\":{\"value\":\"false\"},\"sourceNodeId\":\"17863e01-f5ea-41d3-81b7-db0e59959429\",\"targetNodeId\":\"3ebaf08e-4789-4d53-a9c3-a6a69e724b71\",\"sourceAnchorId\":\"17863e01-f5ea-41d3-81b7-db0e59959429_1\",\"targetAnchorId\":\"3ebaf08e-4789-4d53-a9c3-a6a69e724b71_3\",\"startPoint\":{\"x\":509,\"y\":204},\"endPoint\":{\"x\":610,\"y\":285},\"text\":{\"x\":580,\"y\":244.5,\"value\":\"false\"},\"pointsList\":[{\"x\":509,\"y\":204},{\"x\":580,\"y\":204},{\"x\":580,\"y\":285},{\"x\":610,\"y\":285}]},{\"id\":\"d7ef580d-ed22-4df8-b6d9-9a9b7f154e59\",\"type\":\"polyline\",\"properties\":{\"value\":\"true\"},\"sourceNodeId\":\"3ebaf08e-4789-4d53-a9c3-a6a69e724b71\",\"targetNodeId\":\"b0383b77-f0e7-4184-a0a5-df36fff13a1f\",\"sourceAnchorId\":\"3ebaf08e-4789-4d53-a9c3-a6a69e724b71_1\",\"targetAnchorId\":\"b0383b77-f0e7-4184-a0a5-df36fff13a1f_3\",\"startPoint\":{\"x\":736,\"y\":285},\"endPoint\":{\"x\":880,\"y\":204},\"text\":{\"x\":823,\"y\":204,\"value\":\"true\"},\"pointsList\":[{\"x\":736,\"y\":285},{\"x\":766,\"y\":285},{\"x\":766,\"y\":204},{\"x\":880,\"y\":204}]},{\"id\":\"ed41df80-8dae-40a8-8579-4713ea4a5725\",\"type\":\"polyline\",\"properties\":{\"value\":\"false\"},\"sourceNodeId\":\"3ebaf08e-4789-4d53-a9c3-a6a69e724b71\",\"targetNodeId\":\"15fd8358-d008-49e9-b564-2487c848fe81\",\"sourceAnchorId\":\"3ebaf08e-4789-4d53-a9c3-a6a69e724b71_1\",\"targetAnchorId\":\"15fd8358-d008-49e9-b564-2487c848fe81_3\",\"startPoint\":{\"x\":736,\"y\":285},\"endPoint\":{\"x\":877,\"y\":361},\"text\":{\"x\":821.5,\"y\":361,\"value\":\"false\"},\"pointsList\":[{\"x\":736,\"y\":285},{\"x\":766,\"y\":285},{\"x\":766,\"y\":361},{\"x\":877,\"y\":361}]},{\"id\":\"b8166184-59a1-4ab4-8af9-b72f7fdf33da\",\"type\":\"polyline\",\"properties\":{\"value\":\"true\"},\"sourceNodeId\":\"15fd8358-d008-49e9-b564-2487c848fe81\",\"targetNodeId\":\"eb3b0599-7e34-4e22-a088-b71c24fbd180\",\"sourceAnchorId\":\"15fd8358-d008-49e9-b564-2487c848fe81_1\",\"targetAnchorId\":\"eb3b0599-7e34-4e22-a088-b71c24fbd180_3\",\"startPoint\":{\"x\":1003,\"y\":361,\"id\":\"969-362\"},\"endPoint\":{\"x\":1162,\"y\":283,\"id\":\"1093-284\"},\"text\":{\"x\":1097.5,\"y\":283,\"value\":\"true\"},\"pointsList\":[{\"x\":1003,\"y\":361},{\"x\":1033,\"y\":361},{\"x\":1033,\"y\":283},{\"x\":1162,\"y\":283}]},{\"id\":\"160c4aaa-8f30-4a9d-aafd-994afcc2bcb3\",\"type\":\"polyline\",\"properties\":{\"value\":\"false\"},\"sourceNodeId\":\"15fd8358-d008-49e9-b564-2487c848fe81\",\"targetNodeId\":\"6d7adc38-72da-4515-b7d8-f6ae9ca136b9\",\"sourceAnchorId\":\"15fd8358-d008-49e9-b564-2487c848fe81_1\",\"targetAnchorId\":\"6d7adc38-72da-4515-b7d8-f6ae9ca136b9_3\",\"startPoint\":{\"x\":1003,\"y\":361,\"id\":\"969-362\"},\"endPoint\":{\"x\":1162,\"y\":454,\"id\":\"1093-455\"},\"text\":{\"x\":1097.5,\"y\":454,\"value\":\"false\"},\"pointsList\":[{\"x\":1003,\"y\":361},{\"x\":1033,\"y\":361},{\"x\":1033,\"y\":454},{\"x\":1162,\"y\":454}]},{\"id\":\"b78d7fbb-f74b-40ae-b673-7c4ef5627f78\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"6d7adc38-72da-4515-b7d8-f6ae9ca136b9\",\"targetNodeId\":\"21dd269e-bcd9-40ee-be3c-19ec9763767e\",\"sourceAnchorId\":\"6d7adc38-72da-4515-b7d8-f6ae9ca136b9_1\",\"targetAnchorId\":\"21dd269e-bcd9-40ee-be3c-19ec9763767e_3\",\"startPoint\":{\"x\":1282,\"y\":454,\"id\":\"1213-455\"},\"endPoint\":{\"x\":1448,\"y\":454,\"id\":\"1379-455\"},\"pointsList\":[{\"x\":1282,\"y\":454},{\"x\":1448,\"y\":454}]}]}";
      break;
    case '11':
      // 例子十一
      json = "{\"nodes\":[{\"id\":\"1dc0afda-b1eb-49b9-94a4-f7c03b17c689\",\"type\":\"CommonNode\",\"x\":269,\"y\":306,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":269,\"y\":306,\"value\":\"ACommon\"}},{\"id\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd\",\"type\":\"CommonNode\",\"x\":486,\"y\":306,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":486,\"y\":306,\"value\":\"BCommon\"}},{\"id\":\"d966a513-a527-4760-a925-9a28d998d05b\",\"type\":\"CommonNode\",\"x\":694,\"y\":84,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":694,\"y\":84,\"value\":\"CCommon\"}},{\"id\":\"c3ac85d8-572f-403e-a038-099b93868160\",\"type\":\"CommonNode\",\"x\":934,\"y\":4,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":934,\"y\":4,\"value\":\"DCommon\"}},{\"id\":\"f5d1fcbd-acdb-4ccc-b9df-06caaf9af744\",\"type\":\"CommonNode\",\"x\":934,\"y\":164,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":934,\"y\":164,\"value\":\"ECommon\"}},{\"id\":\"2fdb5c63-8c3c-4c4b-837a-cc8768999578\",\"type\":\"CommonNode\",\"x\":935,\"y\":306,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"FCommon\",\"tag\":\"FCommon\",\"comment\":\"FCommon\",\"clazz\":\"FCommon\",\"remark\":\"FCommon\"},\"text\":{\"x\":935,\"y\":306,\"value\":\"FCommon\"}},{\"id\":\"56d1f997-c8ef-4a00-bf62-96d2e9afb257\",\"type\":\"CommonNode\",\"x\":789,\"y\":480,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"GCommon\",\"tag\":\"GCommon\",\"comment\":\"GCommon\",\"clazz\":\"GCommon\",\"remark\":\"GCommon\"},\"text\":{\"x\":789,\"y\":480,\"value\":\"GCommon\"}},{\"id\":\"f2639c78-98a1-4669-a7d5-ee1c87adf03a\",\"type\":\"CommonNode\",\"x\":1132,\"y\":479,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"HCommon\",\"tag\":\"HCommon\",\"comment\":\"HCommon\",\"clazz\":\"HCommon\",\"remark\":\"HCommon\"},\"text\":{\"x\":1132,\"y\":479,\"value\":\"HCommon\"}},{\"id\":\"7f3a2588-0352-4d17-bed4-3e79c5fb0ff7\",\"type\":\"MarkNode\",\"x\":1132,\"y\":84,\"properties\":{\"type\":\"MARK\",\"nodeType\":\"MARK\",\"category\":\"MARK\",\"width\":40,\"height\":40},\"text\":{\"x\":1132,\"y\":84,\"value\":\" \"}},{\"id\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7\",\"type\":\"SwitchNode\",\"x\":1432,\"y\":306,\"properties\":{\"type\":\"SWITCH\",\"nodeType\":\"SWITCH\",\"category\":\"SWITCH\",\"width\":126,\"height\":80,\"code\":\"BSwitch\",\"comment\":\"BSwitch\",\"clazz\":\"BSwitch\",\"remark\":\"BSwitch\"},\"text\":{\"x\":1432,\"y\":306,\"value\":\"BSwitch\"}},{\"id\":\"5ff48012-6e9c-48ea-bbe2-daab02936eb7\",\"type\":\"CommonNode\",\"x\":1984,\"y\":89,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ICommon\",\"tag\":\"ICommon\",\"comment\":\"ICommon\",\"clazz\":\"ICommon\",\"remark\":\"ICommon\"},\"text\":{\"x\":1984,\"y\":89,\"value\":\"ICommon\"}},{\"id\":\"fa83a7f7-bf3f-4e8a-b7fb-d6e4674c1eb8\",\"type\":\"CommonNode\",\"x\":1985,\"y\":306,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"JCommon\",\"tag\":\"JCommon\",\"comment\":\"JCommon\",\"clazz\":\"JCommon\",\"remark\":\"JCommon\"},\"text\":{\"x\":1985,\"y\":306,\"value\":\"JCommon\"}},{\"id\":\"ced9ceb1-53c5-4711-91f4-1f47f3c9b060\",\"type\":\"CommonNode\",\"x\":1985,\"y\":487,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"KCommon\",\"tag\":\"KCommon\",\"comment\":\"KCommon\",\"clazz\":\"KCommon\",\"remark\":\"KCommon\"},\"text\":{\"x\":1985,\"y\":487,\"value\":\"KCommon\"}},{\"id\":\"94ee73b0-2d00-4c71-bd68-0e5d308fec8c\",\"type\":\"CommonNode\",\"x\":1864,\"y\":656,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"LCommon\",\"tag\":\"LCommon\",\"comment\":\"LCommon\",\"clazz\":\"LCommon\",\"remark\":\"LCommon\"},\"text\":{\"x\":1864,\"y\":656,\"value\":\"LCommon\"}},{\"id\":\"37cf572d-ebc3-4e2f-9d7d-f63359872533\",\"type\":\"CommonNode\",\"x\":2105,\"y\":656,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"MCommon\",\"tag\":\"MCommon\",\"comment\":\"MCommon\",\"clazz\":\"MCommon\",\"remark\":\"MCommon\"},\"text\":{\"x\":2105,\"y\":656,\"value\":\"MCommon\"}},{\"id\":\"7926e070-2cac-4333-b896-18f7428b6850\",\"type\":\"MarkNode\",\"x\":1666,\"y\":561,\"properties\":{\"type\":\"MARK\",\"nodeType\":\"MARK\",\"category\":\"MARK\",\"width\":40,\"height\":40},\"text\":{\"x\":1666,\"y\":561,\"value\":\" \"}},{\"id\":\"b1a7feb6-47ec-4c9f-bd31-56da78b869ee\",\"type\":\"CommonNode\",\"x\":2612,\"y\":306,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"NCommon\",\"tag\":\"NCommon\",\"comment\":\"NCommon\",\"clazz\":\"NCommon\",\"remark\":\"NCommon\"},\"text\":{\"x\":2612,\"y\":306,\"value\":\"NCommon\"}},{\"id\":\"ff17d9c5-eb79-4d48-a472-c03a7ff49379\",\"type\":\"MarkNode\",\"x\":2301,\"y\":554,\"properties\":{\"type\":\"MARK\",\"nodeType\":\"MARK\",\"category\":\"MARK\",\"width\":40,\"height\":40},\"text\":{\"x\":2301,\"y\":554,\"value\":\" \"}}],\"edges\":[{\"id\":\"b3792c47-e977-4d3c-af8b-752e0d910286\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"1dc0afda-b1eb-49b9-94a4-f7c03b17c689\",\"targetNodeId\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd\",\"sourceAnchorId\":\"1dc0afda-b1eb-49b9-94a4-f7c03b17c689_1\",\"targetAnchorId\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd_3\",\"startPoint\":{\"x\":329,\"y\":306},\"endPoint\":{\"x\":426,\"y\":306},\"pointsList\":[{\"x\":329,\"y\":306},{\"x\":426,\"y\":306}]},{\"id\":\"68969394-1d52-4eb4-8cc0-18d33bf5bc58\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd\",\"targetNodeId\":\"d966a513-a527-4760-a925-9a28d998d05b\",\"sourceAnchorId\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd_1\",\"targetAnchorId\":\"d966a513-a527-4760-a925-9a28d998d05b_3\",\"startPoint\":{\"x\":546,\"y\":306},\"endPoint\":{\"x\":634,\"y\":84},\"pointsList\":[{\"x\":546,\"y\":306},{\"x\":604,\"y\":306},{\"x\":604,\"y\":84},{\"x\":634,\"y\":84}]},{\"id\":\"2b5f7cfb-d87c-4523-b9d3-1135438786b7\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd\",\"targetNodeId\":\"56d1f997-c8ef-4a00-bf62-96d2e9afb257\",\"sourceAnchorId\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd_1\",\"targetAnchorId\":\"56d1f997-c8ef-4a00-bf62-96d2e9afb257_3\",\"startPoint\":{\"x\":546,\"y\":306},\"endPoint\":{\"x\":729,\"y\":480},\"pointsList\":[{\"x\":546,\"y\":306},{\"x\":605,\"y\":306},{\"x\":605,\"y\":480},{\"x\":729,\"y\":480}]},{\"id\":\"6bd596b8-077b-4a42-aa6a-67b88a826147\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd\",\"targetNodeId\":\"2fdb5c63-8c3c-4c4b-837a-cc8768999578\",\"sourceAnchorId\":\"b3816948-48e5-43a7-89a9-7024aeaa80dd_1\",\"targetAnchorId\":\"2fdb5c63-8c3c-4c4b-837a-cc8768999578_3\",\"startPoint\":{\"x\":546,\"y\":306},\"endPoint\":{\"x\":875,\"y\":306},\"pointsList\":[{\"x\":546,\"y\":306},{\"x\":875,\"y\":306}]},{\"id\":\"45e341e1-7f39-4004-88da-0195eba072ea\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"d966a513-a527-4760-a925-9a28d998d05b\",\"targetNodeId\":\"c3ac85d8-572f-403e-a038-099b93868160\",\"sourceAnchorId\":\"d966a513-a527-4760-a925-9a28d998d05b_1\",\"targetAnchorId\":\"c3ac85d8-572f-403e-a038-099b93868160_3\",\"startPoint\":{\"x\":754,\"y\":84},\"endPoint\":{\"x\":874,\"y\":4},\"pointsList\":[{\"x\":754,\"y\":84},{\"x\":844,\"y\":84},{\"x\":844,\"y\":4},{\"x\":874,\"y\":4}]},{\"id\":\"bafa6bbc-b6f3-4b11-b93c-20feb2137275\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"d966a513-a527-4760-a925-9a28d998d05b\",\"targetNodeId\":\"f5d1fcbd-acdb-4ccc-b9df-06caaf9af744\",\"sourceAnchorId\":\"d966a513-a527-4760-a925-9a28d998d05b_1\",\"targetAnchorId\":\"f5d1fcbd-acdb-4ccc-b9df-06caaf9af744_3\",\"startPoint\":{\"x\":754,\"y\":84},\"endPoint\":{\"x\":874,\"y\":164},\"pointsList\":[{\"x\":754,\"y\":84},{\"x\":844,\"y\":84},{\"x\":844,\"y\":164},{\"x\":874,\"y\":164}]},{\"id\":\"9b7a48ac-1e2a-4dfe-af4b-2c18e897e4bb\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"2fdb5c63-8c3c-4c4b-837a-cc8768999578\",\"targetNodeId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7\",\"sourceAnchorId\":\"2fdb5c63-8c3c-4c4b-837a-cc8768999578_1\",\"targetAnchorId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7_3\",\"startPoint\":{\"x\":995,\"y\":306},\"endPoint\":{\"x\":1369,\"y\":306},\"pointsList\":[{\"x\":995,\"y\":306},{\"x\":1369,\"y\":306}]},{\"id\":\"d21ea144-d41a-4e03-a01f-3da69376786e\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"56d1f997-c8ef-4a00-bf62-96d2e9afb257\",\"targetNodeId\":\"f2639c78-98a1-4669-a7d5-ee1c87adf03a\",\"sourceAnchorId\":\"56d1f997-c8ef-4a00-bf62-96d2e9afb257_1\",\"targetAnchorId\":\"f2639c78-98a1-4669-a7d5-ee1c87adf03a_3\",\"startPoint\":{\"x\":849,\"y\":480},\"endPoint\":{\"x\":1072,\"y\":479},\"pointsList\":[{\"x\":849,\"y\":480},{\"x\":960.5,\"y\":480},{\"x\":960.5,\"y\":479},{\"x\":1072,\"y\":479}]},{\"id\":\"9a683690-ce67-439a-8bad-c5dacf92860f\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"f2639c78-98a1-4669-a7d5-ee1c87adf03a\",\"targetNodeId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7\",\"sourceAnchorId\":\"f2639c78-98a1-4669-a7d5-ee1c87adf03a_1\",\"targetAnchorId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7_3\",\"startPoint\":{\"x\":1192,\"y\":479},\"endPoint\":{\"x\":1369,\"y\":306},\"pointsList\":[{\"x\":1192,\"y\":479},{\"x\":1339,\"y\":479},{\"x\":1339,\"y\":306},{\"x\":1369,\"y\":306}]},{\"id\":\"9ed33db7-724b-4e08-b8fd-3277f4361243\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"c3ac85d8-572f-403e-a038-099b93868160\",\"targetNodeId\":\"7f3a2588-0352-4d17-bed4-3e79c5fb0ff7\",\"sourceAnchorId\":\"c3ac85d8-572f-403e-a038-099b93868160_1\",\"targetAnchorId\":\"7f3a2588-0352-4d17-bed4-3e79c5fb0ff7_3\",\"startPoint\":{\"x\":994,\"y\":4},\"endPoint\":{\"x\":1112,\"y\":84},\"pointsList\":[{\"x\":994,\"y\":4},{\"x\":1082,\"y\":4},{\"x\":1082,\"y\":84},{\"x\":1112,\"y\":84}]},{\"id\":\"de154847-3e34-4c9c-b086-3f4f79f2ee9e\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"f5d1fcbd-acdb-4ccc-b9df-06caaf9af744\",\"targetNodeId\":\"7f3a2588-0352-4d17-bed4-3e79c5fb0ff7\",\"sourceAnchorId\":\"f5d1fcbd-acdb-4ccc-b9df-06caaf9af744_1\",\"targetAnchorId\":\"7f3a2588-0352-4d17-bed4-3e79c5fb0ff7_3\",\"startPoint\":{\"x\":994,\"y\":164},\"endPoint\":{\"x\":1112,\"y\":84},\"pointsList\":[{\"x\":994,\"y\":164},{\"x\":1082,\"y\":164},{\"x\":1082,\"y\":84},{\"x\":1112,\"y\":84}]},{\"id\":\"8ce16373-dc10-4371-9924-c3fb7410c8e2\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"7f3a2588-0352-4d17-bed4-3e79c5fb0ff7\",\"targetNodeId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7\",\"sourceAnchorId\":\"7f3a2588-0352-4d17-bed4-3e79c5fb0ff7_1\",\"targetAnchorId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7_3\",\"startPoint\":{\"x\":1152,\"y\":84},\"endPoint\":{\"x\":1369,\"y\":306},\"pointsList\":[{\"x\":1152,\"y\":84},{\"x\":1339,\"y\":84},{\"x\":1339,\"y\":306},{\"x\":1369,\"y\":306}]},{\"id\":\"1f695f37-70c8-4407-b969-4adae9435227\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag1\",\"value\":\"tag1\"},\"sourceNodeId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7\",\"targetNodeId\":\"5ff48012-6e9c-48ea-bbe2-daab02936eb7\",\"sourceAnchorId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7_1\",\"targetAnchorId\":\"5ff48012-6e9c-48ea-bbe2-daab02936eb7_3\",\"startPoint\":{\"x\":1495,\"y\":306},\"endPoint\":{\"x\":1924,\"y\":89},\"text\":{\"x\":1770,\"y\":89,\"value\":\"tag1\"},\"pointsList\":[{\"x\":1495,\"y\":306},{\"x\":1616,\"y\":306},{\"x\":1616,\"y\":89},{\"x\":1924,\"y\":89}]},{\"id\":\"9f3bf374-28e8-45f5-9d30-50af3e8cc254\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag2\",\"value\":\"tag2\"},\"sourceNodeId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7\",\"targetNodeId\":\"fa83a7f7-bf3f-4e8a-b7fb-d6e4674c1eb8\",\"sourceAnchorId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7_1\",\"targetAnchorId\":\"fa83a7f7-bf3f-4e8a-b7fb-d6e4674c1eb8_3\",\"startPoint\":{\"x\":1495,\"y\":306},\"endPoint\":{\"x\":1925,\"y\":306},\"text\":{\"x\":1710,\"y\":306,\"value\":\"tag2\"},\"pointsList\":[{\"x\":1495,\"y\":306},{\"x\":1925,\"y\":306}]},{\"id\":\"7c900752-5733-4a80-88a7-56ee0b6e803f\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"fa83a7f7-bf3f-4e8a-b7fb-d6e4674c1eb8\",\"targetNodeId\":\"b1a7feb6-47ec-4c9f-bd31-56da78b869ee\",\"sourceAnchorId\":\"fa83a7f7-bf3f-4e8a-b7fb-d6e4674c1eb8_1\",\"targetAnchorId\":\"b1a7feb6-47ec-4c9f-bd31-56da78b869ee_3\",\"startPoint\":{\"x\":2045,\"y\":306},\"endPoint\":{\"x\":2552,\"y\":306},\"pointsList\":[{\"x\":2045,\"y\":306},{\"x\":2552,\"y\":306}]},{\"id\":\"1ab520c2-c412-41d1-bc86-7b5468a30c32\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"5ff48012-6e9c-48ea-bbe2-daab02936eb7\",\"targetNodeId\":\"b1a7feb6-47ec-4c9f-bd31-56da78b869ee\",\"sourceAnchorId\":\"5ff48012-6e9c-48ea-bbe2-daab02936eb7_1\",\"targetAnchorId\":\"b1a7feb6-47ec-4c9f-bd31-56da78b869ee_3\",\"startPoint\":{\"x\":2044,\"y\":89},\"endPoint\":{\"x\":2552,\"y\":306},\"pointsList\":[{\"x\":2044,\"y\":89},{\"x\":2443,\"y\":89},{\"x\":2443,\"y\":306},{\"x\":2552,\"y\":306}]},{\"id\":\"affc083f-f48b-48c4-a994-53e156d5db7f\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag3\",\"value\":\"tag3\"},\"sourceNodeId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7\",\"targetNodeId\":\"7926e070-2cac-4333-b896-18f7428b6850\",\"sourceAnchorId\":\"644d9ebc-872f-4bba-be15-55bec28b0ec7_1\",\"targetAnchorId\":\"7926e070-2cac-4333-b896-18f7428b6850_3\",\"startPoint\":{\"x\":1495,\"y\":306},\"endPoint\":{\"x\":1646,\"y\":561},\"text\":{\"x\":1616,\"y\":433.5,\"value\":\"tag3\"},\"pointsList\":[{\"x\":1495,\"y\":306},{\"x\":1616,\"y\":306},{\"x\":1616,\"y\":561},{\"x\":1646,\"y\":561}]},{\"id\":\"b3e6b758-3f1d-40ba-87e0-4003702af46c\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"7926e070-2cac-4333-b896-18f7428b6850\",\"targetNodeId\":\"ced9ceb1-53c5-4711-91f4-1f47f3c9b060\",\"sourceAnchorId\":\"7926e070-2cac-4333-b896-18f7428b6850_1\",\"targetAnchorId\":\"ced9ceb1-53c5-4711-91f4-1f47f3c9b060_3\",\"startPoint\":{\"x\":1686,\"y\":561},\"endPoint\":{\"x\":1925,\"y\":487},\"pointsList\":[{\"x\":1686,\"y\":561},{\"x\":1740,\"y\":561},{\"x\":1740,\"y\":487},{\"x\":1925,\"y\":487}]},{\"id\":\"efcf5298-f376-438e-be7e-83daad15cad6\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"7926e070-2cac-4333-b896-18f7428b6850\",\"targetNodeId\":\"94ee73b0-2d00-4c71-bd68-0e5d308fec8c\",\"sourceAnchorId\":\"7926e070-2cac-4333-b896-18f7428b6850_1\",\"targetAnchorId\":\"94ee73b0-2d00-4c71-bd68-0e5d308fec8c_3\",\"startPoint\":{\"x\":1686,\"y\":561},\"endPoint\":{\"x\":1804,\"y\":656},\"pointsList\":[{\"x\":1686,\"y\":561},{\"x\":1740,\"y\":561},{\"x\":1740,\"y\":656},{\"x\":1804,\"y\":656}]},{\"id\":\"4f778c59-3deb-405d-ba80-0bc3392b3d2c\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"ced9ceb1-53c5-4711-91f4-1f47f3c9b060\",\"targetNodeId\":\"ff17d9c5-eb79-4d48-a472-c03a7ff49379\",\"sourceAnchorId\":\"ced9ceb1-53c5-4711-91f4-1f47f3c9b060_1\",\"targetAnchorId\":\"ff17d9c5-eb79-4d48-a472-c03a7ff49379_3\",\"startPoint\":{\"x\":2045,\"y\":487},\"endPoint\":{\"x\":2281,\"y\":554},\"pointsList\":[{\"x\":2045,\"y\":487},{\"x\":2205,\"y\":487},{\"x\":2205,\"y\":554},{\"x\":2281,\"y\":554}]},{\"id\":\"645666a9-328a-43e8-be6d-dbe2fecc54b2\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"94ee73b0-2d00-4c71-bd68-0e5d308fec8c\",\"targetNodeId\":\"37cf572d-ebc3-4e2f-9d7d-f63359872533\",\"sourceAnchorId\":\"94ee73b0-2d00-4c71-bd68-0e5d308fec8c_1\",\"targetAnchorId\":\"37cf572d-ebc3-4e2f-9d7d-f63359872533_3\",\"startPoint\":{\"x\":1924,\"y\":656},\"endPoint\":{\"x\":2045,\"y\":656},\"pointsList\":[{\"x\":1924,\"y\":656},{\"x\":2045,\"y\":656}]},{\"id\":\"171abf20-0f4a-4e6f-9579-c3f152106218\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"37cf572d-ebc3-4e2f-9d7d-f63359872533\",\"targetNodeId\":\"ff17d9c5-eb79-4d48-a472-c03a7ff49379\",\"sourceAnchorId\":\"37cf572d-ebc3-4e2f-9d7d-f63359872533_1\",\"targetAnchorId\":\"ff17d9c5-eb79-4d48-a472-c03a7ff49379_3\",\"startPoint\":{\"x\":2165,\"y\":656},\"endPoint\":{\"x\":2281,\"y\":554},\"pointsList\":[{\"x\":2165,\"y\":656},{\"x\":2206,\"y\":656},{\"x\":2206,\"y\":554},{\"x\":2281,\"y\":554}]},{\"id\":\"3f5b6b5f-7aaa-4466-99ad-972ce61a0d36\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"ff17d9c5-eb79-4d48-a472-c03a7ff49379\",\"targetNodeId\":\"b1a7feb6-47ec-4c9f-bd31-56da78b869ee\",\"sourceAnchorId\":\"ff17d9c5-eb79-4d48-a472-c03a7ff49379_1\",\"targetAnchorId\":\"b1a7feb6-47ec-4c9f-bd31-56da78b869ee_3\",\"startPoint\":{\"x\":2321,\"y\":554},\"endPoint\":{\"x\":2552,\"y\":306},\"pointsList\":[{\"x\":2321,\"y\":554},{\"x\":2443,\"y\":554},{\"x\":2443,\"y\":306},{\"x\":2552,\"y\":306}]}]}";
      break;
    case '12':
      // 例子十二
      json = "{\"nodes\":[{\"id\":\"8695c12a-6d9d-4c6c-b20c-b7112661747a\",\"type\":\"CommonNode\",\"x\":-28.000000000000142,\"y\":269,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":-28.000000000000142,\"y\":269,\"value\":\"ACommon\"}},{\"id\":\"01cbe478-e951-46a7-bab1-b6ba48238a95\",\"type\":\"CommonNode\",\"x\":879.0000000000001,\"y\":51.499999999999964,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":879.0000000000001,\"y\":51.499999999999964,\"value\":\"BCommon\"}},{\"id\":\"c8a2d527-a5dc-4ed3-82ef-e600be4a1414\",\"type\":\"CommonNode\",\"x\":1504.5000000000002,\"y\":51.27272727272724,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":1504.5000000000002,\"y\":51.27272727272724,\"value\":\"CCommon\"}},{\"id\":\"7fce4527-231c-4a58-a460-e125033d1ac1\",\"type\":\"CommonNode\",\"x\":565,\"y\":269,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":565,\"y\":269,\"value\":\"DCommon\"}},{\"id\":\"2eb243c6-901e-4be2-9286-7de86637b29e\",\"type\":\"CommonNode\",\"x\":1180.0000000000002,\"y\":269,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":1180.0000000000002,\"y\":269,\"value\":\"ECommon\"}},{\"id\":\"4f82c84e-52c7-4f07-9a6a-b6dc490b063c\",\"type\":\"CommonNode\",\"x\":1751.5000000000002,\"y\":268.5,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"FCommon\",\"tag\":\"FCommon\",\"comment\":\"FCommon\",\"clazz\":\"FCommon\",\"remark\":\"FCommon\"},\"text\":{\"x\":1751.5000000000002,\"y\":268.5,\"value\":\"FCommon\"}},{\"id\":\"d3e7a930-1d68-42b7-938c-ae67d8b95a51\",\"type\":\"CommonNode\",\"x\":2344.470588235294,\"y\":269.02941176470586,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"NCommon\",\"tag\":\"NCommon\",\"comment\":\"NCommon\",\"clazz\":\"NCommon\",\"remark\":\"NCommon\"},\"text\":{\"x\":2344.470588235294,\"y\":269.02941176470586,\"value\":\"NCommon\"}},{\"id\":\"fb246eb5-e33d-411a-b3b2-d0b0b9f60a1d\",\"type\":\"SwitchNode\",\"x\":325,\"y\":590,\"properties\":{\"type\":\"SWITCH\",\"nodeType\":\"SWITCH\",\"category\":\"SWITCH\",\"width\":126,\"height\":80,\"code\":\"CSwitch\",\"comment\":\"CSwitch\",\"clazz\":\"CSwitch\",\"remark\":\"CSwitch\"},\"text\":{\"x\":325,\"y\":590,\"value\":\"CSwitch\"}},{\"id\":\"d62c87f3-08dc-407d-a629-a58f239d77b6\",\"type\":\"CommonNode\",\"x\":664,\"y\":510,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"GCommon\",\"tag\":\"GCommon\",\"comment\":\"GCommon\",\"clazz\":\"GCommon\",\"remark\":\"GCommon\"},\"text\":{\"x\":664,\"y\":510,\"value\":\"GCommon\"}},{\"id\":\"cff33925-45bd-4d6c-ba6a-61dc1f471b5d\",\"type\":\"CommonNode\",\"x\":793,\"y\":740,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"KCommon\",\"tag\":\"KCommon\",\"comment\":\"KCommon\",\"clazz\":\"KCommon\",\"remark\":\"KCommon\"},\"text\":{\"x\":793,\"y\":740,\"value\":\"KCommon\"}},{\"id\":\"ca4c6095-0557-4c64-9f92-e875f742ac8a\",\"type\":\"CommonNode\",\"x\":999,\"y\":510,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"HCommon\",\"tag\":\"HCommon\",\"comment\":\"HCommon\",\"clazz\":\"HCommon\",\"remark\":\"HCommon\"},\"text\":{\"x\":999,\"y\":510,\"value\":\"HCommon\"}},{\"id\":\"e19e69f1-a8c0-4f59-82ee-7644b5751729\",\"type\":\"CommonNode\",\"x\":1361,\"y\":430,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ICommon\",\"tag\":\"ICommon\",\"comment\":\"ICommon\",\"clazz\":\"ICommon\",\"remark\":\"ICommon\"},\"text\":{\"x\":1361,\"y\":430,\"value\":\"ICommon\"}},{\"id\":\"fe175e61-58ae-4c18-ab2f-e4183c00a11a\",\"type\":\"CommonNode\",\"x\":1365,\"y\":590,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"JCommon\",\"tag\":\"JCommon\",\"comment\":\"JCommon\",\"clazz\":\"JCommon\",\"remark\":\"JCommon\"},\"text\":{\"x\":1365,\"y\":590,\"value\":\"JCommon\"}},{\"id\":\"7c3301c7-8a53-4a72-b0fd-a03aa5a5d863\",\"type\":\"CommonNode\",\"x\":1452,\"y\":740,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"LCommon\",\"tag\":\"LCommon\",\"comment\":\"LCommon\",\"clazz\":\"LCommon\",\"remark\":\"LCommon\"},\"text\":{\"x\":1452,\"y\":740,\"value\":\"LCommon\"}},{\"id\":\"932d81ff-d600-41bb-bf74-de77c97c6a95\",\"type\":\"MarkNode\",\"x\":1643,\"y\":505,\"properties\":{\"type\":\"MARK\",\"nodeType\":\"MARK\",\"category\":\"MARK\",\"width\":40,\"height\":40},\"text\":{\"x\":1643,\"y\":505,\"value\":\" \"}},{\"id\":\"a7e010cb-5cf3-4b89-91b7-3824b5e861e9\",\"type\":\"CommonNode\",\"x\":1949,\"y\":631,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"MCommon\",\"tag\":\"MCommon\",\"comment\":\"MCommon\",\"clazz\":\"MCommon\",\"remark\":\"MCommon\"},\"text\":{\"x\":1949,\"y\":631,\"value\":\"MCommon\"}}],\"edges\":[{\"id\":\"61e30e44-0725-4e1a-b8e6-e0133c0f2bb6\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"8695c12a-6d9d-4c6c-b20c-b7112661747a\",\"targetNodeId\":\"7fce4527-231c-4a58-a460-e125033d1ac1\",\"sourceAnchorId\":\"8695c12a-6d9d-4c6c-b20c-b7112661747a_1\",\"targetAnchorId\":\"7fce4527-231c-4a58-a460-e125033d1ac1_3\",\"startPoint\":{\"x\":31.99999999999997,\"y\":269},\"endPoint\":{\"x\":505,\"y\":269},\"pointsList\":[{\"x\":31.99999999999997,\"y\":269},{\"x\":505,\"y\":269}]},{\"id\":\"7aa38485-3ea9-4c96-ba78-fa3a41772ee8\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"7fce4527-231c-4a58-a460-e125033d1ac1\",\"targetNodeId\":\"2eb243c6-901e-4be2-9286-7de86637b29e\",\"sourceAnchorId\":\"7fce4527-231c-4a58-a460-e125033d1ac1_1\",\"targetAnchorId\":\"2eb243c6-901e-4be2-9286-7de86637b29e_3\",\"startPoint\":{\"x\":625,\"y\":269},\"endPoint\":{\"x\":1120.0000000000002,\"y\":269},\"pointsList\":[{\"x\":625,\"y\":269},{\"x\":1120.0000000000002,\"y\":269}]},{\"id\":\"6f6d4551-4e50-4a8f-a3d6-0dd80bff03a9\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"2eb243c6-901e-4be2-9286-7de86637b29e\",\"targetNodeId\":\"4f82c84e-52c7-4f07-9a6a-b6dc490b063c\",\"sourceAnchorId\":\"2eb243c6-901e-4be2-9286-7de86637b29e_1\",\"targetAnchorId\":\"4f82c84e-52c7-4f07-9a6a-b6dc490b063c_3\",\"startPoint\":{\"x\":1240.0000000000002,\"y\":269},\"endPoint\":{\"x\":1691.5000000000002,\"y\":268.5},\"pointsList\":[{\"x\":1240.0000000000002,\"y\":269},{\"x\":1465.7500000000002,\"y\":269},{\"x\":1465.7500000000002,\"y\":268.5},{\"x\":1691.5000000000002,\"y\":268.5}]},{\"id\":\"4989e1ac-d021-4c6d-8e20-83a079e0adf8\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"4f82c84e-52c7-4f07-9a6a-b6dc490b063c\",\"targetNodeId\":\"d3e7a930-1d68-42b7-938c-ae67d8b95a51\",\"sourceAnchorId\":\"4f82c84e-52c7-4f07-9a6a-b6dc490b063c_1\",\"targetAnchorId\":\"d3e7a930-1d68-42b7-938c-ae67d8b95a51_3\",\"startPoint\":{\"x\":1811.5000000000002,\"y\":268.5},\"endPoint\":{\"x\":2284.470588235294,\"y\":269.02941176470586},\"pointsList\":[{\"x\":1811.5000000000002,\"y\":268.5},{\"x\":2047.9852941176473,\"y\":268.5},{\"x\":2047.9852941176473,\"y\":269.02941176470586},{\"x\":2284.470588235294,\"y\":269.02941176470586}]},{\"id\":\"2df3ff1b-e23d-4779-a294-acb04a94271f\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"8695c12a-6d9d-4c6c-b20c-b7112661747a\",\"targetNodeId\":\"01cbe478-e951-46a7-bab1-b6ba48238a95\",\"sourceAnchorId\":\"8695c12a-6d9d-4c6c-b20c-b7112661747a_1\",\"targetAnchorId\":\"01cbe478-e951-46a7-bab1-b6ba48238a95_3\",\"startPoint\":{\"x\":31.999999999999858,\"y\":269},\"endPoint\":{\"x\":819.0000000000001,\"y\":51.499999999999964},\"pointsList\":[{\"x\":31.999999999999858,\"y\":269},{\"x\":229.5,\"y\":269},{\"x\":229.5,\"y\":51.499999999999964},{\"x\":819.0000000000001,\"y\":51.499999999999964}]},{\"id\":\"e3ef0e05-ee2e-483d-a5d0-edf2a671feeb\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"01cbe478-e951-46a7-bab1-b6ba48238a95\",\"targetNodeId\":\"c8a2d527-a5dc-4ed3-82ef-e600be4a1414\",\"sourceAnchorId\":\"01cbe478-e951-46a7-bab1-b6ba48238a95_1\",\"targetAnchorId\":\"c8a2d527-a5dc-4ed3-82ef-e600be4a1414_3\",\"startPoint\":{\"x\":939.0000000000001,\"y\":51.499999999999964},\"endPoint\":{\"x\":1444.5000000000002,\"y\":51.27272727272724},\"pointsList\":[{\"x\":939.0000000000001,\"y\":51.499999999999964},{\"x\":1191.7500000000002,\"y\":51.499999999999964},{\"x\":1191.7500000000002,\"y\":51.27272727272724},{\"x\":1444.5000000000002,\"y\":51.27272727272724}]},{\"id\":\"ef1b994b-ca6c-4dc1-9b35-48a53ca3573e\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"c8a2d527-a5dc-4ed3-82ef-e600be4a1414\",\"targetNodeId\":\"d3e7a930-1d68-42b7-938c-ae67d8b95a51\",\"sourceAnchorId\":\"c8a2d527-a5dc-4ed3-82ef-e600be4a1414_1\",\"targetAnchorId\":\"d3e7a930-1d68-42b7-938c-ae67d8b95a51_3\",\"startPoint\":{\"x\":1564.5000000000002,\"y\":51.27272727272724},\"endPoint\":{\"x\":2284.470588235294,\"y\":269.02941176470586},\"pointsList\":[{\"x\":1564.5000000000002,\"y\":51.27272727272724},{\"x\":2151.5,\"y\":51.27272727272724},{\"x\":2151.5,\"y\":269.02941176470586},{\"x\":2284.470588235294,\"y\":269.02941176470586}]},{\"id\":\"f31a69fb-4b07-4ae4-af9a-0751eb0166fa\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"8695c12a-6d9d-4c6c-b20c-b7112661747a\",\"targetNodeId\":\"fb246eb5-e33d-411a-b3b2-d0b0b9f60a1d\",\"sourceAnchorId\":\"8695c12a-6d9d-4c6c-b20c-b7112661747a_1\",\"targetAnchorId\":\"fb246eb5-e33d-411a-b3b2-d0b0b9f60a1d_3\",\"startPoint\":{\"x\":31.999999999999858,\"y\":269},\"endPoint\":{\"x\":262,\"y\":590},\"pointsList\":[{\"x\":31.999999999999858,\"y\":269},{\"x\":229,\"y\":269},{\"x\":229,\"y\":590},{\"x\":262,\"y\":590}]},{\"id\":\"9bb8d16c-246a-40d3-9f90-6acafe0f2d3b\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag1\",\"value\":\"tag1\"},\"sourceNodeId\":\"fb246eb5-e33d-411a-b3b2-d0b0b9f60a1d\",\"targetNodeId\":\"d62c87f3-08dc-407d-a629-a58f239d77b6\",\"sourceAnchorId\":\"fb246eb5-e33d-411a-b3b2-d0b0b9f60a1d_1\",\"targetAnchorId\":\"d62c87f3-08dc-407d-a629-a58f239d77b6_3\",\"startPoint\":{\"x\":388,\"y\":590},\"endPoint\":{\"x\":604,\"y\":510},\"text\":{\"x\":530.8529411764707,\"y\":510,\"value\":\"tag1\"},\"pointsList\":[{\"x\":388,\"y\":590},{\"x\":457.70588235294156,\"y\":590},{\"x\":457.70588235294156,\"y\":510},{\"x\":604,\"y\":510}]},{\"id\":\"5d08e407-4548-49ed-a757-4af874df2153\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"d62c87f3-08dc-407d-a629-a58f239d77b6\",\"targetNodeId\":\"ca4c6095-0557-4c64-9f92-e875f742ac8a\",\"sourceAnchorId\":\"d62c87f3-08dc-407d-a629-a58f239d77b6_1\",\"targetAnchorId\":\"ca4c6095-0557-4c64-9f92-e875f742ac8a_3\",\"startPoint\":{\"x\":724,\"y\":510},\"endPoint\":{\"x\":939,\"y\":510},\"pointsList\":[{\"x\":724,\"y\":510},{\"x\":939,\"y\":510}]},{\"id\":\"810dc924-1434-402e-b5d1-236cdd69fc6e\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"ca4c6095-0557-4c64-9f92-e875f742ac8a\",\"targetNodeId\":\"e19e69f1-a8c0-4f59-82ee-7644b5751729\",\"sourceAnchorId\":\"ca4c6095-0557-4c64-9f92-e875f742ac8a_1\",\"targetAnchorId\":\"e19e69f1-a8c0-4f59-82ee-7644b5751729_3\",\"startPoint\":{\"x\":1059,\"y\":510},\"endPoint\":{\"x\":1301,\"y\":430},\"pointsList\":[{\"x\":1059,\"y\":510},{\"x\":1154.9090909090903,\"y\":510},{\"x\":1154.9090909090903,\"y\":430},{\"x\":1301,\"y\":430}]},{\"id\":\"bf56a90a-4e31-4a32-a25b-a6fa0c7f2321\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"ca4c6095-0557-4c64-9f92-e875f742ac8a\",\"targetNodeId\":\"fe175e61-58ae-4c18-ab2f-e4183c00a11a\",\"sourceAnchorId\":\"ca4c6095-0557-4c64-9f92-e875f742ac8a_1\",\"targetAnchorId\":\"fe175e61-58ae-4c18-ab2f-e4183c00a11a_3\",\"startPoint\":{\"x\":1059,\"y\":510},\"endPoint\":{\"x\":1305,\"y\":590},\"pointsList\":[{\"x\":1059,\"y\":510},{\"x\":1155.7613636363633,\"y\":510},{\"x\":1155.7613636363633,\"y\":590},{\"x\":1305,\"y\":590}]},{\"id\":\"10cb7136-322d-43e3-9ae9-b208ea65deb3\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"e19e69f1-a8c0-4f59-82ee-7644b5751729\",\"targetNodeId\":\"932d81ff-d600-41bb-bf74-de77c97c6a95\",\"sourceAnchorId\":\"e19e69f1-a8c0-4f59-82ee-7644b5751729_1\",\"targetAnchorId\":\"932d81ff-d600-41bb-bf74-de77c97c6a95_3\",\"startPoint\":{\"x\":1421,\"y\":430},\"endPoint\":{\"x\":1623,\"y\":505},\"pointsList\":[{\"x\":1421,\"y\":430},{\"x\":1540.8284313725496,\"y\":430},{\"x\":1540.8284313725496,\"y\":505},{\"x\":1623,\"y\":505}]},{\"id\":\"0093d0f1-fdd6-480a-962b-a6de0184af7d\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"fe175e61-58ae-4c18-ab2f-e4183c00a11a\",\"targetNodeId\":\"932d81ff-d600-41bb-bf74-de77c97c6a95\",\"sourceAnchorId\":\"fe175e61-58ae-4c18-ab2f-e4183c00a11a_1\",\"targetAnchorId\":\"932d81ff-d600-41bb-bf74-de77c97c6a95_3\",\"startPoint\":{\"x\":1425,\"y\":590},\"endPoint\":{\"x\":1623,\"y\":505},\"pointsList\":[{\"x\":1425,\"y\":590},{\"x\":1542.1323529411775,\"y\":590},{\"x\":1542.1323529411775,\"y\":505},{\"x\":1623,\"y\":505}]},{\"id\":\"888f5a56-8e1f-4823-a979-015a272fe57a\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"932d81ff-d600-41bb-bf74-de77c97c6a95\",\"targetNodeId\":\"a7e010cb-5cf3-4b89-91b7-3824b5e861e9\",\"sourceAnchorId\":\"932d81ff-d600-41bb-bf74-de77c97c6a95_1\",\"targetAnchorId\":\"a7e010cb-5cf3-4b89-91b7-3824b5e861e9_3\",\"startPoint\":{\"x\":1663,\"y\":505},\"endPoint\":{\"x\":1889,\"y\":631},\"pointsList\":[{\"x\":1663,\"y\":505},{\"x\":1775.352941176471,\"y\":505},{\"x\":1775.352941176471,\"y\":631},{\"x\":1889,\"y\":631}]},{\"id\":\"dd1f9780-5ba2-480d-917f-0797eb2003e2\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"a7e010cb-5cf3-4b89-91b7-3824b5e861e9\",\"targetNodeId\":\"d3e7a930-1d68-42b7-938c-ae67d8b95a51\",\"sourceAnchorId\":\"a7e010cb-5cf3-4b89-91b7-3824b5e861e9_1\",\"targetAnchorId\":\"d3e7a930-1d68-42b7-938c-ae67d8b95a51_3\",\"startPoint\":{\"x\":2009,\"y\":631},\"endPoint\":{\"x\":2284.470588235294,\"y\":269.02941176470586},\"pointsList\":[{\"x\":2009,\"y\":631},{\"x\":2151.470588235294,\"y\":631},{\"x\":2151.470588235294,\"y\":269.02941176470586},{\"x\":2284.470588235294,\"y\":269.02941176470586}]},{\"id\":\"a95a889b-d046-4429-a074-849b6ec35f93\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag2\",\"value\":\"tag2\"},\"sourceNodeId\":\"fb246eb5-e33d-411a-b3b2-d0b0b9f60a1d\",\"targetNodeId\":\"cff33925-45bd-4d6c-ba6a-61dc1f471b5d\",\"sourceAnchorId\":\"fb246eb5-e33d-411a-b3b2-d0b0b9f60a1d_1\",\"targetAnchorId\":\"cff33925-45bd-4d6c-ba6a-61dc1f471b5d_3\",\"startPoint\":{\"x\":388,\"y\":590},\"endPoint\":{\"x\":733,\"y\":740},\"text\":{\"x\":595.3529411764708,\"y\":740,\"value\":\"tag2\"},\"pointsList\":[{\"x\":388,\"y\":590},{\"x\":457.70588235294167,\"y\":590},{\"x\":457.70588235294167,\"y\":740},{\"x\":733,\"y\":740}]},{\"id\":\"c4e84adc-bd06-4d1e-b956-f75d2bd7cacd\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"cff33925-45bd-4d6c-ba6a-61dc1f471b5d\",\"targetNodeId\":\"7c3301c7-8a53-4a72-b0fd-a03aa5a5d863\",\"sourceAnchorId\":\"cff33925-45bd-4d6c-ba6a-61dc1f471b5d_1\",\"targetAnchorId\":\"7c3301c7-8a53-4a72-b0fd-a03aa5a5d863_3\",\"startPoint\":{\"x\":853,\"y\":740},\"endPoint\":{\"x\":1392,\"y\":740},\"pointsList\":[{\"x\":853,\"y\":740},{\"x\":1392,\"y\":740}]},{\"id\":\"90e93210-2a19-469f-8677-bff91440a1ca\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"7c3301c7-8a53-4a72-b0fd-a03aa5a5d863\",\"targetNodeId\":\"a7e010cb-5cf3-4b89-91b7-3824b5e861e9\",\"sourceAnchorId\":\"7c3301c7-8a53-4a72-b0fd-a03aa5a5d863_1\",\"targetAnchorId\":\"a7e010cb-5cf3-4b89-91b7-3824b5e861e9_3\",\"startPoint\":{\"x\":1512,\"y\":740},\"endPoint\":{\"x\":1889,\"y\":631},\"pointsList\":[{\"x\":1512,\"y\":740},{\"x\":1775.8235294117649,\"y\":740},{\"x\":1775.8235294117649,\"y\":631},{\"x\":1889,\"y\":631}]}]}";
      break;
    case '13':
      // 例子十三
      json = "{\"nodes\":[{\"id\":\"fb9c24d3-e8ea-4e8e-b9f0-0d5a750a5692\",\"type\":\"CommonNode\",\"x\":252,\"y\":268,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"tag\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":252,\"y\":268,\"value\":\"ACommon\"}},{\"id\":\"0db1a2f8-f9f8-4976-aa04-7eab5d6aed9a\",\"type\":\"SwitchNode\",\"x\":515,\"y\":268,\"properties\":{\"type\":\"SWITCH\",\"nodeType\":\"SWITCH\",\"category\":\"SWITCH\",\"width\":126,\"height\":80,\"code\":\"DSwitch\",\"comment\":\"DSwitch\",\"clazz\":\"DSwitch\",\"remark\":\"DSwitch\"},\"text\":{\"x\":515,\"y\":268,\"value\":\"DSwitch\"}},{\"id\":\"1f38cbfa-bf95-4a4e-a3e2-de4dfe45c8dd\",\"type\":\"CommonNode\",\"x\":1045.5238095238096,\"y\":106,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"tag\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":1045.5238095238096,\"y\":106,\"value\":\"BCommon\"}},{\"id\":\"534c7ec7-4cba-4a42-8b36-68e450708c0a\",\"type\":\"CommonNode\",\"x\":1536.8154761904764,\"y\":105.91666666666667,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"tag\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":1536.8154761904764,\"y\":105.91666666666667,\"value\":\"CCommon\"}},{\"id\":\"faba2789-09aa-442e-9cbb-9c6194f687cc\",\"type\":\"CommonNode\",\"x\":1989.5714285714287,\"y\":105.70833333333333,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"DCommon\",\"tag\":\"DCommon\",\"comment\":\"DCommon\",\"clazz\":\"DCommon\",\"remark\":\"DCommon\"},\"text\":{\"x\":1989.5714285714287,\"y\":105.70833333333333,\"value\":\"DCommon\"}},{\"id\":\"76100cfe-dc73-4e1f-b0ce-d8035778a397\",\"type\":\"CommonNode\",\"x\":786.3333333333334,\"y\":627.2083333333334,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ECommon\",\"tag\":\"ECommon\",\"comment\":\"ECommon\",\"clazz\":\"ECommon\",\"remark\":\"ECommon\"},\"text\":{\"x\":786.3333333333334,\"y\":627.2083333333334,\"value\":\"ECommon\"}},{\"id\":\"f5df78b6-f26b-4707-8615-a3e296975bad\",\"type\":\"SwitchNode\",\"x\":1030,\"y\":444,\"properties\":{\"type\":\"SWITCH\",\"nodeType\":\"SWITCH\",\"category\":\"SWITCH\",\"width\":126,\"height\":80,\"code\":\"ESwitch\",\"comment\":\"ESwitch\",\"clazz\":\"ESwitch\",\"remark\":\"ESwitch\"},\"text\":{\"x\":1030,\"y\":444,\"value\":\"ESwitch\"}},{\"id\":\"58c4955c-83f7-4754-a7fc-ccd987975e9a\",\"type\":\"CommonNode\",\"x\":1295,\"y\":308,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"HCommon\",\"tag\":\"HCommon\",\"comment\":\"HCommon\",\"clazz\":\"HCommon\",\"remark\":\"HCommon\"},\"text\":{\"x\":1295,\"y\":308,\"value\":\"HCommon\"}},{\"id\":\"b267b2aa-dce4-44bb-b099-ec394de7ba86\",\"type\":\"CommonNode\",\"x\":1621,\"y\":308,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ICommon\",\"tag\":\"ICommon\",\"comment\":\"ICommon\",\"clazz\":\"ICommon\",\"remark\":\"ICommon\"},\"text\":{\"x\":1621,\"y\":308,\"value\":\"ICommon\"}},{\"id\":\"13bf5753-363d-46fe-953d-48923d13365e\",\"type\":\"CommonNode\",\"x\":1474,\"y\":548,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"JCommon\",\"tag\":\"JCommon\",\"comment\":\"JCommon\",\"clazz\":\"JCommon\",\"remark\":\"JCommon\"},\"text\":{\"x\":1474,\"y\":548,\"value\":\"JCommon\"}},{\"id\":\"82a97c44-1688-4219-9c27-944536e51575\",\"type\":\"CommonNode\",\"x\":1330,\"y\":773,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"FCommon\",\"tag\":\"FCommon\",\"comment\":\"FCommon\",\"clazz\":\"FCommon\",\"remark\":\"FCommon\"},\"text\":{\"x\":1330,\"y\":773,\"value\":\"FCommon\"}},{\"id\":\"97362127-b2fb-4b65-919e-3ec685b47eab\",\"type\":\"CommonNode\",\"x\":1658,\"y\":773,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"GCommon\",\"tag\":\"GCommon\",\"comment\":\"GCommon\",\"clazz\":\"GCommon\",\"remark\":\"GCommon\"},\"text\":{\"x\":1658,\"y\":773,\"value\":\"GCommon\"}},{\"id\":\"bbfe930c-f675-47d9-ad79-ecbcc2bd5edd\",\"type\":\"CommonNode\",\"x\":1995,\"y\":429,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"KCommon\",\"tag\":\"KCommon\",\"comment\":\"KCommon\",\"clazz\":\"KCommon\",\"remark\":\"KCommon\"},\"text\":{\"x\":1995,\"y\":429,\"value\":\"KCommon\"}},{\"id\":\"909c4726-8574-406f-a79f-3961e7d460de\",\"type\":\"CommonNode\",\"x\":2459.476839664913,\"y\":334.5492342578006,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"LCommon\",\"tag\":\"LCommon\",\"comment\":\"LCommon\",\"clazz\":\"LCommon\",\"remark\":\"LCommon\"},\"text\":{\"x\":2459.476839664913,\"y\":334.5492342578006,\"value\":\"LCommon\"}}],\"edges\":[{\"id\":\"fb5c5f4f-4b9c-418d-8513-7e07428e3219\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"fb9c24d3-e8ea-4e8e-b9f0-0d5a750a5692\",\"targetNodeId\":\"0db1a2f8-f9f8-4976-aa04-7eab5d6aed9a\",\"sourceAnchorId\":\"fb9c24d3-e8ea-4e8e-b9f0-0d5a750a5692_1\",\"targetAnchorId\":\"0db1a2f8-f9f8-4976-aa04-7eab5d6aed9a_3\",\"startPoint\":{\"x\":312,\"y\":268},\"endPoint\":{\"x\":452,\"y\":268},\"pointsList\":[{\"x\":312,\"y\":268},{\"x\":452,\"y\":268}]},{\"id\":\"a09e24cd-a6e3-45bf-bac7-2cd021db81b4\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag1\",\"value\":\"tag1\"},\"sourceNodeId\":\"0db1a2f8-f9f8-4976-aa04-7eab5d6aed9a\",\"targetNodeId\":\"1f38cbfa-bf95-4a4e-a3e2-de4dfe45c8dd\",\"sourceAnchorId\":\"0db1a2f8-f9f8-4976-aa04-7eab5d6aed9a_1\",\"targetAnchorId\":\"1f38cbfa-bf95-4a4e-a3e2-de4dfe45c8dd_3\",\"startPoint\":{\"x\":578,\"y\":268},\"endPoint\":{\"x\":985.5238095238096,\"y\":106},\"text\":{\"x\":828.9047619047617,\"y\":106,\"value\":\"tag1\"},\"pointsList\":[{\"x\":578,\"y\":268},{\"x\":672.2857142857139,\"y\":268},{\"x\":672.2857142857139,\"y\":106},{\"x\":985.5238095238096,\"y\":106}]},{\"id\":\"f809e750-7eb2-4fed-bbf2-35875592b1b6\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag2\",\"value\":\"tag2\"},\"sourceNodeId\":\"0db1a2f8-f9f8-4976-aa04-7eab5d6aed9a\",\"targetNodeId\":\"76100cfe-dc73-4e1f-b0ce-d8035778a397\",\"sourceAnchorId\":\"0db1a2f8-f9f8-4976-aa04-7eab5d6aed9a_1\",\"targetAnchorId\":\"76100cfe-dc73-4e1f-b0ce-d8035778a397_3\",\"startPoint\":{\"x\":578,\"y\":268},\"endPoint\":{\"x\":726.3333333333334,\"y\":627.2083333333334},\"text\":{\"x\":671.3333333333342,\"y\":447.6041666666667,\"value\":\"tag2\"},\"pointsList\":[{\"x\":578,\"y\":268},{\"x\":671.3333333333342,\"y\":268},{\"x\":671.3333333333342,\"y\":627.2083333333334},{\"x\":726.3333333333334,\"y\":627.2083333333334}]},{\"id\":\"88ef2197-1534-46cf-9225-a71f51c8b71b\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"1f38cbfa-bf95-4a4e-a3e2-de4dfe45c8dd\",\"targetNodeId\":\"534c7ec7-4cba-4a42-8b36-68e450708c0a\",\"sourceAnchorId\":\"1f38cbfa-bf95-4a4e-a3e2-de4dfe45c8dd_1\",\"targetAnchorId\":\"534c7ec7-4cba-4a42-8b36-68e450708c0a_3\",\"startPoint\":{\"x\":1105.5238095238083,\"y\":106},\"endPoint\":{\"x\":1476.8154761904764,\"y\":105.91666666666667},\"pointsList\":[{\"x\":1105.5238095238083,\"y\":106},{\"x\":1291.1696428571422,\"y\":106},{\"x\":1291.1696428571422,\"y\":105.91666666666667},{\"x\":1476.8154761904764,\"y\":105.91666666666667}]},{\"id\":\"3cbc045c-0a36-467d-9f1a-203a7611fc3e\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"534c7ec7-4cba-4a42-8b36-68e450708c0a\",\"targetNodeId\":\"faba2789-09aa-442e-9cbb-9c6194f687cc\",\"sourceAnchorId\":\"534c7ec7-4cba-4a42-8b36-68e450708c0a_1\",\"targetAnchorId\":\"faba2789-09aa-442e-9cbb-9c6194f687cc_3\",\"startPoint\":{\"x\":1596.8154761904764,\"y\":105.91666666666667},\"endPoint\":{\"x\":1929.5714285714287,\"y\":105.70833333333333},\"pointsList\":[{\"x\":1596.8154761904764,\"y\":105.91666666666667},{\"x\":1763.1934523809525,\"y\":105.91666666666667},{\"x\":1763.1934523809525,\"y\":105.70833333333333},{\"x\":1929.5714285714287,\"y\":105.70833333333333}]},{\"id\":\"a3a70888-b468-42f0-a34f-02a72864555a\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"76100cfe-dc73-4e1f-b0ce-d8035778a397\",\"targetNodeId\":\"f5df78b6-f26b-4707-8615-a3e296975bad\",\"sourceAnchorId\":\"76100cfe-dc73-4e1f-b0ce-d8035778a397_1\",\"targetAnchorId\":\"f5df78b6-f26b-4707-8615-a3e296975bad_3\",\"startPoint\":{\"x\":846.3333333333334,\"y\":627.2083333333334},\"endPoint\":{\"x\":967,\"y\":444},\"pointsList\":[{\"x\":846.3333333333334,\"y\":627.2083333333334},{\"x\":937,\"y\":627.2083333333334},{\"x\":937,\"y\":444},{\"x\":967,\"y\":444}]},{\"id\":\"3b0c4f90-63c2-4b50-a97e-a191cf3a0106\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"76100cfe-dc73-4e1f-b0ce-d8035778a397\",\"targetNodeId\":\"82a97c44-1688-4219-9c27-944536e51575\",\"sourceAnchorId\":\"76100cfe-dc73-4e1f-b0ce-d8035778a397_1\",\"targetAnchorId\":\"82a97c44-1688-4219-9c27-944536e51575_3\",\"startPoint\":{\"x\":846.3333333333334,\"y\":627.2083333333334},\"endPoint\":{\"x\":1270,\"y\":773},\"pointsList\":[{\"x\":846.3333333333334,\"y\":627.2083333333334},{\"x\":935.8571428571443,\"y\":627.2083333333334},{\"x\":935.8571428571443,\"y\":773},{\"x\":1270,\"y\":773}]},{\"id\":\"09294dc2-394a-42fe-befc-3b0a9b2d9ff8\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag1\",\"value\":\"tag1\"},\"sourceNodeId\":\"f5df78b6-f26b-4707-8615-a3e296975bad\",\"targetNodeId\":\"58c4955c-83f7-4754-a7fc-ccd987975e9a\",\"sourceAnchorId\":\"f5df78b6-f26b-4707-8615-a3e296975bad_1\",\"targetAnchorId\":\"58c4955c-83f7-4754-a7fc-ccd987975e9a_3\",\"startPoint\":{\"x\":1093,\"y\":444},\"endPoint\":{\"x\":1235,\"y\":308},\"text\":{\"x\":1205,\"y\":376,\"value\":\"tag1\"},\"pointsList\":[{\"x\":1093,\"y\":444},{\"x\":1205,\"y\":444},{\"x\":1205,\"y\":308},{\"x\":1235,\"y\":308}]},{\"id\":\"ddff2352-2555-4dce-a4db-8477197de401\",\"type\":\"polyline\",\"properties\":{\"tag\":\"tag2\",\"value\":\"tag2\"},\"sourceNodeId\":\"f5df78b6-f26b-4707-8615-a3e296975bad\",\"targetNodeId\":\"13bf5753-363d-46fe-953d-48923d13365e\",\"sourceAnchorId\":\"f5df78b6-f26b-4707-8615-a3e296975bad_1\",\"targetAnchorId\":\"13bf5753-363d-46fe-953d-48923d13365e_3\",\"startPoint\":{\"x\":1093,\"y\":444},\"endPoint\":{\"x\":1414,\"y\":548},\"text\":{\"x\":1310.1666666666665,\"y\":548,\"value\":\"tag2\"},\"pointsList\":[{\"x\":1093,\"y\":444},{\"x\":1206.3333333333333,\"y\":444},{\"x\":1206.3333333333333,\"y\":548},{\"x\":1414,\"y\":548}]},{\"id\":\"1a69c9e1-5a59-493a-91a3-719efe61beee\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"58c4955c-83f7-4754-a7fc-ccd987975e9a\",\"targetNodeId\":\"b267b2aa-dce4-44bb-b099-ec394de7ba86\",\"sourceAnchorId\":\"58c4955c-83f7-4754-a7fc-ccd987975e9a_1\",\"targetAnchorId\":\"b267b2aa-dce4-44bb-b099-ec394de7ba86_3\",\"startPoint\":{\"x\":1355,\"y\":308},\"endPoint\":{\"x\":1561,\"y\":308},\"pointsList\":[{\"x\":1355,\"y\":308},{\"x\":1561,\"y\":308}]},{\"id\":\"f1813020-823e-4cc8-b48c-2734a17b9a15\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b267b2aa-dce4-44bb-b099-ec394de7ba86\",\"targetNodeId\":\"bbfe930c-f675-47d9-ad79-ecbcc2bd5edd\",\"sourceAnchorId\":\"b267b2aa-dce4-44bb-b099-ec394de7ba86_1\",\"targetAnchorId\":\"bbfe930c-f675-47d9-ad79-ecbcc2bd5edd_3\",\"startPoint\":{\"x\":1681,\"y\":308},\"endPoint\":{\"x\":1935,\"y\":429},\"pointsList\":[{\"x\":1681,\"y\":308},{\"x\":1711,\"y\":308},{\"x\":1711,\"y\":429},{\"x\":1935,\"y\":429}]},{\"id\":\"91cfe023-5b75-42f4-9eaa-b3ab0129d619\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"13bf5753-363d-46fe-953d-48923d13365e\",\"targetNodeId\":\"bbfe930c-f675-47d9-ad79-ecbcc2bd5edd\",\"sourceAnchorId\":\"13bf5753-363d-46fe-953d-48923d13365e_1\",\"targetAnchorId\":\"bbfe930c-f675-47d9-ad79-ecbcc2bd5edd_3\",\"startPoint\":{\"x\":1534,\"y\":548},\"endPoint\":{\"x\":1935,\"y\":429},\"pointsList\":[{\"x\":1534,\"y\":548},{\"x\":1710.875000000001,\"y\":548},{\"x\":1710.875000000001,\"y\":429},{\"x\":1935,\"y\":429}]},{\"id\":\"827094ef-868b-43cd-a62a-27fc8db41069\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"faba2789-09aa-442e-9cbb-9c6194f687cc\",\"targetNodeId\":\"909c4726-8574-406f-a79f-3961e7d460de\",\"sourceAnchorId\":\"faba2789-09aa-442e-9cbb-9c6194f687cc_1\",\"targetAnchorId\":\"909c4726-8574-406f-a79f-3961e7d460de_3\",\"startPoint\":{\"x\":2049.5714285714284,\"y\":105.70833333333333},\"endPoint\":{\"x\":2399.476839664913,\"y\":334.5492342578006},\"pointsList\":[{\"x\":2049.5714285714284,\"y\":105.70833333333333},{\"x\":2214.095238095235,\"y\":105.70833333333333},{\"x\":2214.095238095235,\"y\":334.5492342578006},{\"x\":2399.476839664913,\"y\":334.5492342578006}]},{\"id\":\"39f7be4a-4b56-4494-90f9-3bb7f68a6da3\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"bbfe930c-f675-47d9-ad79-ecbcc2bd5edd\",\"targetNodeId\":\"909c4726-8574-406f-a79f-3961e7d460de\",\"sourceAnchorId\":\"bbfe930c-f675-47d9-ad79-ecbcc2bd5edd_1\",\"targetAnchorId\":\"909c4726-8574-406f-a79f-3961e7d460de_3\",\"startPoint\":{\"x\":2055,\"y\":429},\"endPoint\":{\"x\":2399.476839664913,\"y\":334.5492342578006},\"pointsList\":[{\"x\":2055,\"y\":429},{\"x\":2215.0650749590295,\"y\":429},{\"x\":2215.0650749590295,\"y\":334.5492342578006},{\"x\":2399.476839664913,\"y\":334.5492342578006}]},{\"id\":\"56f132a0-3196-4a66-a391-0d4a7312597a\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"82a97c44-1688-4219-9c27-944536e51575\",\"targetNodeId\":\"97362127-b2fb-4b65-919e-3ec685b47eab\",\"sourceAnchorId\":\"82a97c44-1688-4219-9c27-944536e51575_1\",\"targetAnchorId\":\"97362127-b2fb-4b65-919e-3ec685b47eab_3\",\"startPoint\":{\"x\":1390,\"y\":773},\"endPoint\":{\"x\":1598,\"y\":773},\"pointsList\":[{\"x\":1390,\"y\":773},{\"x\":1598,\"y\":773}]},{\"id\":\"8bf90714-b513-41e6-bedc-44ed3b6a6a3d\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"97362127-b2fb-4b65-919e-3ec685b47eab\",\"targetNodeId\":\"909c4726-8574-406f-a79f-3961e7d460de\",\"sourceAnchorId\":\"97362127-b2fb-4b65-919e-3ec685b47eab_1\",\"targetAnchorId\":\"909c4726-8574-406f-a79f-3961e7d460de_3\",\"startPoint\":{\"x\":1718,\"y\":773},\"endPoint\":{\"x\":2399.476839664913,\"y\":334.5492342578006},\"pointsList\":[{\"x\":1718,\"y\":773},{\"x\":2215.0650749590277,\"y\":773},{\"x\":2215.0650749590277,\"y\":334.5492342578006},{\"x\":2399.476839664913,\"y\":334.5492342578006}]}]}";
      break;
    case '14':
      json = "{\"nodes\":[{\"id\":\"55aec6ca-2b5b-44ab-8950-1557b5982f70\",\"type\":\"ForNode\",\"x\":751.3687732969393,\"y\":298.88973729809436,\"properties\":{\"type\":\"FOR\",\"nodeType\":\"FOR\",\"collapsible\":true,\"radius\":5,\"isCollapsed\":false,\"transformWithContainer\":true,\"category\":\"FOR\",\"width\":600,\"height\":400,\"children\":[\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9\",\"59405d45-01a9-4ca3-9c89-6596e84aa47d\"],\"code\":\"5\",\"comment\":\"5\",\"clazz\":\"5\",\"remark\":\"5\"},\"text\":{\"x\":751.3687732969393,\"y\":298.88973729809436,\"value\":\"5\"},\"children\":[\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9\",\"59405d45-01a9-4ca3-9c89-6596e84aa47d\"]},{\"id\":\"59405d45-01a9-4ca3-9c89-6596e84aa47d\",\"type\":\"CommonNode\",\"x\":588.3687732969393,\"y\":289.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":588.3687732969393,\"y\":289.88973729809436,\"value\":\"ACommon\"}},{\"id\":\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9\",\"type\":\"CommonNode\",\"x\":880.3687732969393,\"y\":289.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":880.3687732969393,\"y\":289.88973729809436,\"value\":\"BCommon\"}}],\"edges\":[{\"id\":\"fd2c39c1-b32b-49e8-bb88-8c5e0bb14db8\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"59405d45-01a9-4ca3-9c89-6596e84aa47d\",\"targetNodeId\":\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9\",\"sourceAnchorId\":\"59405d45-01a9-4ca3-9c89-6596e84aa47d_1\",\"targetAnchorId\":\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9_3\",\"startPoint\":{\"x\":648.3687732969393,\"y\":289.88973729809436},\"endPoint\":{\"x\":820.3687732969393,\"y\":289.88973729809436},\"pointsList\":[{\"x\":648.3687732969393,\"y\":289.88973729809436},{\"x\":820.3687732969393,\"y\":289.88973729809436}]}]}";
      break;
    case '15':
      json = "{\"nodes\":[{\"id\":\"55aec6ca-2b5b-44ab-8950-1557b5982f70\",\"type\":\"ForNode\",\"x\":751.3687732969393,\"y\":298.88973729809436,\"properties\":{\"type\":\"FOR\",\"nodeType\":\"FOR\",\"collapsible\":true,\"radius\":5,\"isCollapsed\":false,\"transformWithContainer\":true,\"category\":\"FOR\",\"width\":600,\"height\":400,\"children\":[\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9\",\"59405d45-01a9-4ca3-9c89-6596e84aa47d\"],\"code\":\"AFor\",\"comment\":\"AFor\",\"clazz\":\"AFor\",\"remark\":\"AFor\"},\"text\":{\"x\":751.3687732969393,\"y\":298.88973729809436,\"value\":\"AFor\"},\"children\":[\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9\",\"59405d45-01a9-4ca3-9c89-6596e84aa47d\"]},{\"id\":\"59405d45-01a9-4ca3-9c89-6596e84aa47d\",\"type\":\"CommonNode\",\"x\":588.3687732969393,\"y\":289.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":588.3687732969393,\"y\":289.88973729809436,\"value\":\"ACommon\"}},{\"id\":\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9\",\"type\":\"CommonNode\",\"x\":880.3687732969393,\"y\":289.88973729809436,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":880.3687732969393,\"y\":289.88973729809436,\"value\":\"BCommon\"}}],\"edges\":[{\"id\":\"fd2c39c1-b32b-49e8-bb88-8c5e0bb14db8\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"59405d45-01a9-4ca3-9c89-6596e84aa47d\",\"targetNodeId\":\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9\",\"sourceAnchorId\":\"59405d45-01a9-4ca3-9c89-6596e84aa47d_1\",\"targetAnchorId\":\"eff8d22e-02c1-43cf-ae0f-275dcdd9a3f9_3\",\"startPoint\":{\"x\":648.3687732969393,\"y\":289.88973729809436},\"endPoint\":{\"x\":820.3687732969393,\"y\":289.88973729809436},\"pointsList\":[{\"x\":648.3687732969393,\"y\":289.88973729809436},{\"x\":820.3687732969393,\"y\":289.88973729809436}]}]}";
      break;
    case '16':
      json = "{\"nodes\":[{\"id\":\"3e86c47f-e67d-4d79-b05f-cd971fcc6bb7\",\"type\":\"WhileNode\",\"x\":777,\"y\":300,\"properties\":{\"type\":\"WHILE\",\"nodeType\":\"WHILE\",\"collapsible\":true,\"radius\":5,\"isCollapsed\":false,\"transformWithContainer\":true,\"category\":\"WHILE\",\"width\":600,\"height\":400,\"children\":[\"75b49a3d-9e21-4640-aed4-8b982d688473\",\"2fa26e7b-3e98-4965-8742-485a4009089d\"],\"code\":\"AWhile\",\"comment\":\"AWhile\",\"clazz\":\"AWhile\",\"remark\":\"AWhile\"},\"text\":{\"x\":777,\"y\":300,\"value\":\"AWhile\"},\"children\":[\"75b49a3d-9e21-4640-aed4-8b982d688473\",\"2fa26e7b-3e98-4965-8742-485a4009089d\"]},{\"id\":\"75b49a3d-9e21-4640-aed4-8b982d688473\",\"type\":\"CommonNode\",\"x\":614,\"y\":382,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":614,\"y\":382,\"value\":\"ACommon\"}},{\"id\":\"2fa26e7b-3e98-4965-8742-485a4009089d\",\"type\":\"CommonNode\",\"x\":945,\"y\":382,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":945,\"y\":382,\"value\":\"BCommon\"}}],\"edges\":[{\"id\":\"eb6d9b2c-e407-4070-91fd-f4c4b8ed5bd9\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"75b49a3d-9e21-4640-aed4-8b982d688473\",\"targetNodeId\":\"2fa26e7b-3e98-4965-8742-485a4009089d\",\"sourceAnchorId\":\"75b49a3d-9e21-4640-aed4-8b982d688473_1\",\"targetAnchorId\":\"2fa26e7b-3e98-4965-8742-485a4009089d_3\",\"startPoint\":{\"x\":674,\"y\":382},\"endPoint\":{\"x\":885,\"y\":382},\"pointsList\":[{\"x\":674,\"y\":382},{\"x\":885,\"y\":382}]}]}\n";
      break;
    case '17':
      json = "{\"nodes\":[{\"id\":\"3e86c47f-e67d-4d79-b05f-cd971fcc6bb7\",\"type\":\"WhileNode\",\"x\":1009,\"y\":301,\"properties\":{\"type\":\"WHILE\",\"nodeType\":\"WHILE\",\"collapsible\":true,\"radius\":5,\"isCollapsed\":false,\"transformWithContainer\":true,\"category\":\"WHILE\",\"width\":600,\"height\":400,\"children\":[\"75b49a3d-9e21-4640-aed4-8b982d688473\",\"2fa26e7b-3e98-4965-8742-485a4009089d\"],\"code\":\"AWhile\",\"comment\":\"AWhile\",\"clazz\":\"AWhile\",\"remark\":\"AWhile\"},\"text\":{\"x\":1009,\"y\":301,\"value\":\"AWhile\"},\"children\":[\"75b49a3d-9e21-4640-aed4-8b982d688473\",\"2fa26e7b-3e98-4965-8742-485a4009089d\"]},{\"id\":\"75b49a3d-9e21-4640-aed4-8b982d688473\",\"type\":\"CommonNode\",\"x\":846,\"y\":383,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":846,\"y\":383,\"value\":\"ACommon\"}},{\"id\":\"2fa26e7b-3e98-4965-8742-485a4009089d\",\"type\":\"CommonNode\",\"x\":1177,\"y\":383,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":1177,\"y\":383,\"value\":\"BCommon\"}},{\"id\":\"ca7ce755-b2af-4536-a178-8ef245734670\",\"type\":\"CommonNode\",\"x\":294.5,\"y\":300.5,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"CCommon\",\"comment\":\"CCommon\",\"clazz\":\"CCommon\",\"remark\":\"CCommon\"},\"text\":{\"x\":294.5,\"y\":300.5,\"value\":\"CCommon\"}}],\"edges\":[{\"id\":\"eb6d9b2c-e407-4070-91fd-f4c4b8ed5bd9\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"75b49a3d-9e21-4640-aed4-8b982d688473\",\"targetNodeId\":\"2fa26e7b-3e98-4965-8742-485a4009089d\",\"sourceAnchorId\":\"75b49a3d-9e21-4640-aed4-8b982d688473_1\",\"targetAnchorId\":\"2fa26e7b-3e98-4965-8742-485a4009089d_3\",\"startPoint\":{\"x\":906,\"y\":383},\"endPoint\":{\"x\":1117,\"y\":383},\"pointsList\":[{\"x\":906,\"y\":383},{\"x\":1117,\"y\":383}]},{\"id\":\"9303b51a-baf6-405a-bf2f-7c46b8f55d13\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"ca7ce755-b2af-4536-a178-8ef245734670\",\"targetNodeId\":\"3e86c47f-e67d-4d79-b05f-cd971fcc6bb7\",\"sourceAnchorId\":\"ca7ce755-b2af-4536-a178-8ef245734670_1\",\"targetAnchorId\":\"3e86c47f-e67d-4d79-b05f-cd971fcc6bb7_3\",\"startPoint\":{\"x\":354.5,\"y\":300.5},\"endPoint\":{\"x\":709,\"y\":301},\"pointsList\":[{\"x\":354.5,\"y\":300.5},{\"x\":531.75,\"y\":300.5},{\"x\":531.75,\"y\":301},{\"x\":709,\"y\":301}]}]}";
      break;
    case '18':
      json = "{\"nodes\":[{\"id\":\"c29ae53f-08c2-4b2f-be9c-ce79184e6b6d\",\"type\":\"ForNode\",\"x\":1132.75,\"y\":434.5,\"properties\":{\"type\":\"FOR\",\"nodeType\":\"FOR\",\"collapsible\":true,\"radius\":5,\"isCollapsed\":false,\"transformWithContainer\":true,\"category\":\"FOR\",\"width\":1185,\"height\":644,\"children\":[\"f4dc5d18-c189-46b0-a513-18552e251f49\"],\"code\":\"5\",\"comment\":\"5\",\"clazz\":\"5\",\"remark\":\"5\"},\"text\":{\"x\":1132.75,\"y\":434.5,\"value\":\"5\"},\"children\":[\"f4dc5d18-c189-46b0-a513-18552e251f49\"]},{\"id\":\"f4dc5d18-c189-46b0-a513-18552e251f49\",\"type\":\"ForNode\",\"x\":1122.75,\"y\":420,\"properties\":{\"type\":\"FOR\",\"nodeType\":\"FOR\",\"collapsible\":true,\"radius\":5,\"isCollapsed\":false,\"transformWithContainer\":true,\"category\":\"FOR\",\"width\":975,\"height\":519,\"children\":[\"be2a04de-9bc6-4479-a79b-6f278c070178\",\"230ab65d-fb2b-4250-ab9d-f1abd670b028\"],\"code\":\"AFor\",\"comment\":\"AFor\",\"clazz\":\"AFor\",\"remark\":\"AFor\"},\"text\":{\"x\":1122.75,\"y\":420,\"value\":\"AFor\"},\"children\":[\"be2a04de-9bc6-4479-a79b-6f278c070178\",\"230ab65d-fb2b-4250-ab9d-f1abd670b028\"]},{\"id\":\"230ab65d-fb2b-4250-ab9d-f1abd670b028\",\"type\":\"CommonNode\",\"x\":989.25,\"y\":300.5,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"ACommon\",\"comment\":\"ACommon\",\"clazz\":\"ACommon\",\"remark\":\"ACommon\"},\"text\":{\"x\":989.25,\"y\":300.5,\"value\":\"ACommon\"}},{\"id\":\"be2a04de-9bc6-4479-a79b-6f278c070178\",\"type\":\"CommonNode\",\"x\":1295.25,\"y\":300.5,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"BCommon\",\"comment\":\"BCommon\",\"clazz\":\"BCommon\",\"remark\":\"BCommon\"},\"text\":{\"x\":1295.25,\"y\":300.5,\"value\":\"BCommon\"}}],\"edges\":[{\"id\":\"b3dd2263-83d3-4ce8-8758-0d22264bc519\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"230ab65d-fb2b-4250-ab9d-f1abd670b028\",\"targetNodeId\":\"be2a04de-9bc6-4479-a79b-6f278c070178\",\"sourceAnchorId\":\"230ab65d-fb2b-4250-ab9d-f1abd670b028_1\",\"targetAnchorId\":\"be2a04de-9bc6-4479-a79b-6f278c070178_3\",\"startPoint\":{\"x\":1049.25,\"y\":300.5},\"endPoint\":{\"x\":1235.25,\"y\":300.5},\"pointsList\":[{\"x\":1049.25,\"y\":300.5},{\"x\":1235.25,\"y\":300.5}]}]}";
      break;
  }
  flowContainerRef.value.open(json);
}
// const renderData = ref("{\"nodes\":[{\"id\":\"b5a777d8-70d2-4db0-8039-b3c7653fd39f\",\"type\":\"CommonNode\",\"x\":357,\"y\":366,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"A\",\"tag\":\"A\",\"comment\":\"A\",\"clazz\":\"A\",\"remark\":\"A\"},\"text\":{\"x\":357,\"y\":366,\"value\":\"A\"}},{\"id\":\"1eb84307-24c7-4b2d-a35f-32aeaef18312\",\"type\":\"ForNode\",\"x\":965,\"y\":366,\"properties\":{\"type\":\"FOR\",\"nodeType\":\"FOR\",\"collapsible\":true,\"radius\":5,\"isCollapsed\":false,\"transformWithContainer\":true,\"category\":\"FOR\",\"width\":600,\"height\":400,\"children\":[\"da2b0317-b2a8-49ae-b096-bc9bb75c2bb5\",\"5e51aec4-b38c-4727-83fb-4ab88cbf0e79\",\"5e0322df-1fce-4693-9d5c-8cbedc23e7fd\"]},\"text\":{\"x\":965,\"y\":366,\"value\":\"For\"},\"children\":[\"da2b0317-b2a8-49ae-b096-bc9bb75c2bb5\",\"5e51aec4-b38c-4727-83fb-4ab88cbf0e79\",\"5e0322df-1fce-4693-9d5c-8cbedc23e7fd\"]},{\"id\":\"da2b0317-b2a8-49ae-b096-bc9bb75c2bb5\",\"type\":\"CommonNode\",\"x\":1145,\"y\":264,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"C\",\"tag\":\"C\",\"comment\":\"C\",\"clazz\":\"C\",\"remark\":\"C\"},\"text\":{\"x\":1145,\"y\":264,\"value\":\"C\"}},{\"id\":\"5e51aec4-b38c-4727-83fb-4ab88cbf0e79\",\"type\":\"BooleanNode\",\"x\":812,\"y\":353,\"properties\":{\"type\":\"BOOLEAN\",\"nodeType\":\"BOOLEAN\",\"category\":\"BOOLEAN\",\"width\":126,\"height\":80,\"code\":\"B\",\"comment\":\"B\",\"clazz\":\"B\",\"remark\":\"B\"},\"text\":{\"x\":812,\"y\":353,\"value\":\"B\"}},{\"id\":\"5e0322df-1fce-4693-9d5c-8cbedc23e7fd\",\"type\":\"CommonNode\",\"x\":1142,\"y\":434,\"properties\":{\"type\":\"COMMON\",\"nodeType\":\"COMMON\",\"category\":\"COMMON\",\"width\":120,\"height\":80,\"code\":\"D\",\"tag\":\"D\",\"comment\":\"D\",\"clazz\":\"D\",\"remark\":\"D\"},\"text\":{\"x\":1142,\"y\":434,\"value\":\"D\"}}],\"edges\":[{\"id\":\"0b29d306-37e2-4d9a-aa3d-ec8524b17e11\",\"type\":\"polyline\",\"properties\":{},\"sourceNodeId\":\"b5a777d8-70d2-4db0-8039-b3c7653fd39f\",\"targetNodeId\":\"1eb84307-24c7-4b2d-a35f-32aeaef18312\",\"sourceAnchorId\":\"b5a777d8-70d2-4db0-8039-b3c7653fd39f_1\",\"targetAnchorId\":\"1eb84307-24c7-4b2d-a35f-32aeaef18312_3\",\"startPoint\":{\"x\":417,\"y\":366},\"endPoint\":{\"x\":665,\"y\":366},\"pointsList\":[{\"x\":417,\"y\":366},{\"x\":665,\"y\":366}]},{\"id\":\"9dea56b7-b45d-45db-aa8c-4f73fee1c9ef\",\"type\":\"polyline\",\"properties\":{\"value\":\"true\"},\"sourceNodeId\":\"5e51aec4-b38c-4727-83fb-4ab88cbf0e79\",\"targetNodeId\":\"da2b0317-b2a8-49ae-b096-bc9bb75c2bb5\",\"sourceAnchorId\":\"5e51aec4-b38c-4727-83fb-4ab88cbf0e79_1\",\"targetAnchorId\":\"da2b0317-b2a8-49ae-b096-bc9bb75c2bb5_3\",\"startPoint\":{\"x\":875,\"y\":353},\"endPoint\":{\"x\":1085,\"y\":264},\"text\":{\"x\":995,\"y\":264,\"value\":\"true\"},\"pointsList\":[{\"x\":875,\"y\":353},{\"x\":993,\"y\":353},{\"x\":993,\"y\":264},{\"x\":1085,\"y\":264}]},{\"id\":\"d6a12691-069e-4188-8ebe-fa3180d825e0\",\"type\":\"polyline\",\"properties\":{\"value\":\"false\"},\"sourceNodeId\":\"5e51aec4-b38c-4727-83fb-4ab88cbf0e79\",\"targetNodeId\":\"5e0322df-1fce-4693-9d5c-8cbedc23e7fd\",\"sourceAnchorId\":\"5e51aec4-b38c-4727-83fb-4ab88cbf0e79_1\",\"targetAnchorId\":\"5e0322df-1fce-4693-9d5c-8cbedc23e7fd_3\",\"startPoint\":{\"x\":875,\"y\":353},\"endPoint\":{\"x\":1082,\"y\":434},\"text\":{\"x\":993.5,\"y\":434,\"value\":\"false\"},\"pointsList\":[{\"x\":875,\"y\":353},{\"x\":992,\"y\":353},{\"x\":992,\"y\":434},{\"x\":1082,\"y\":434}]}]}");
</script>

<style scoped>
.mb-4 {
  margin-bottom: 10px;
}

.dark-mode-container {
  position: fixed; /* 保证覆盖整个视口 */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #121212;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 15px;
  overflow: hidden;
  font-family: "Microsoft YaHei", sans-serif;
}
</style>

<!-- 全局样式：不能加 scoped -->
<style>
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* 防止闪烁 */
  background-color: #121212;
}
</style>
